chore(deps): pin shivammathur/setup-php action to f3e473d #164
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR title | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| conventional: | |
| name: Conventional Commits | |
| runs-on: ubuntu-latest | |
| # Skip release-please's own release PRs. Their title shape | |
| # (`chore(main): release X.Y.Z`) parses fine, but having the bot's PR | |
| # gated by this check creates an unnecessary moving part if the | |
| # action's title format ever shifts. | |
| if: github.actor != 'github-actions[bot]' | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@e32d7e603df1aa1ba07e981f2a23455dee596825 # v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| feat | |
| fix | |
| docs | |
| refactor | |
| test | |
| chore | |
| perf | |
| build | |
| ci | |
| style | |
| requireScope: false | |
| subjectPattern: ^[a-z].*$ | |
| subjectPatternError: | | |
| The PR title subject must start with a lowercase letter to match | |
| the existing repo convention (e.g. "feat(coverage): add foo" not | |
| "feat(coverage): Add foo"). Uppercase letters elsewhere in the | |
| subject (proper nouns like Draft, OpenAPI, JSON) are allowed. | |
| Allowed prefixes: feat, fix, docs, refactor, test, chore, perf, build, ci, style. |