aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/enforce-pr-name.yml
blob: 2be1b7f7d4cb1f5a6fe2f398a3b66f126530efef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
on:
  pull_request:
    types:
      - opened
      - edited
      - synchronize
      - reopened

name: Naming conventions
jobs:
  verify-pr-name:
    name: Check PR name
    runs-on: ubuntu-latest
    steps:
      - uses: deepakputhraya/action-pr-title@master
        with:
          regex: '(?:meta:|Add|Fix|Remove) .+[^\.]'
          prefix_case_sensitive: true
          github_token: ${{ github.token }}