{"repo":"seferov/pr-lint-action","free":true,"listed":false,"github":"https://github.com/seferov/pr-lint-action","clone":"git clone https://github.com/seferov/pr-lint-action.git","description":":octocat: PR lint for GitHub Actions","language":"TypeScript","stars":122,"topics":["actions","github-actions","pull-request"],"license":"MPL-2.0","category":"dev-tools","readme_excerpt":"Pull Request Lint It is a linter of pull requests for GitHub Actions. Why? To enforce pull request titles in the same format will be useful like generating standard changelog messages. Besides it can be used to parse titles and link with issue tracking systems such as JIRA. Example: In this example, for every pull request the title is expected to match ^\\[PROJECT-\\d \\]\\ regex with a global flag g . For instance, [PROJECT-123] lorem ipsum or [PROJECT-2345] dolor sit amet are valid titles for this example. You can customize the title regex for your needs. The regex flags configuration is optional. Auto-close It can be configured to close pull request automatically if the title does not match the pattern provided. To do so, github-token and auto-close-message options must be configured. In the message, %pattern% is replaced with the actual the pattern provided. Here is an example pull request. Config: Build & distribution - Source entry point : The action's implementation lives in TypeScript under src/main.ts . - Bundled artifact : During the build step we use @vercel/ncc to bundle the source into a single JavaScript file at dist/index.js (via npm run build ). - Why dist/index.js is committed : GitHub JavaScript actions are executed directly from the repository contents on the runner. To ensure consumers can run the action without installing Node.js or any build tooling, the compiled dist/index.js file is checked into version control and referenced from action.yml . - Contributo","default_branch":null,"files":null,"tree":[],"storefront":"/r/seferov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seferov/pr-lint-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}