[READ-ONLY] a fast, modern browser for the npm registry
at main 38 lines 1.1 kB view raw
1name: chore 2 3on: 4 pull_request_target: 5 types: 6 - opened 7 - edited 8 - synchronize 9 10permissions: {} 11 12jobs: 13 semantic-pr: 14 permissions: 15 contents: read 16 pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs 17 statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR 18 if: github.repository == 'npmx-dev/npmx.dev' 19 runs-on: ubuntu-slim 20 name: 🏷️ Validate PR title 21 steps: 22 - name: Validate PR title 23 uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 24 with: 25 scopes: | 26 a11y 27 deps 28 docs 29 cli 30 i18n 31 ui 32 subjectPattern: ^(?![A-Z]).+$ 33 subjectPatternError: | 34 The subject "{subject}" found in the pull request title "{title}" 35 didn't match the configured pattern. Please ensure that the subject 36 doesn't start with an uppercase character. 37 env: 38 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}