fix: prevent non-deterministic reconcile loops #237
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
| # PR Title Convention Check | |
| # | |
| # Ensures PR titles follow conventional commit format so that | |
| # squash merges produce commits that semantic-release can analyze. | |
| # | |
| # Valid formats: | |
| # feat: add new feature | |
| # fix(scope): fix bug in scope | |
| # docs: update documentation | |
| # chore!: breaking change | |
| name: PR Title Check | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| jobs: | |
| check-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate PR title | |
| uses: amannn/action-semantic-pull-request@v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| feat | |
| fix | |
| docs | |
| style | |
| refactor | |
| perf | |
| test | |
| build | |
| ci | |
| chore | |
| revert | |
| requireScope: false | |
| subjectPattern: ^.+$ | |
| subjectPatternError: | | |
| The subject (after the type) cannot be empty. | |
| Example: "feat: add user authentication" |