aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/enforce-pr-name.yml
blob: cd84884594dd952d001fe7d37213c2c8b8eb05f5 (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 }}