fix: token analyzers should always run and close older issues #3307
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 Check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, edited, synchronize, reopened] | |
| jobs: | |
| pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@e32d7e603df1aa1ba07e981f2a23455dee596825 # v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| # Skip validation for dependabot PRs (they use their own title format) | |
| ignoreLabels: | | |
| dependencies | |
| # Configure which types are allowed | |
| types: | | |
| feat | |
| fix | |
| docs | |
| style | |
| refactor | |
| perf | |
| test | |
| build | |
| ci | |
| chore | |
| revert | |
| # Require lowercase subject | |
| subjectPattern: ^[a-z].+$ | |
| subjectPatternError: | | |
| The subject "{subject}" must start with a lowercase letter. | |
| # Don't require a scope | |
| requireScope: false | |
| # Scopes that are allowed (if scope is provided) | |
| scopes: | | |
| cli | |
| docker | |
| squid | |
| proxy | |
| ci | |
| deps |