diff options
author | Linnea Gräf <nea@nea.moe> | 2024-03-17 16:41:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 16:41:51 +0100 |
commit | 7ce1b9dce8785fbe6a52ccc3030bf9afd1753fb4 (patch) | |
tree | 62bfe5a17bc43df5368ff2a264cc6f2b3890ee21 /.github/workflows | |
parent | e3ded1d8f1de558aafb785e2d7dbccf2b31782f0 (diff) | |
download | NotEnoughUpdates-7ce1b9dce8785fbe6a52ccc3030bf9afd1753fb4.tar.gz NotEnoughUpdates-7ce1b9dce8785fbe6a52ccc3030bf9afd1753fb4.tar.bz2 NotEnoughUpdates-7ce1b9dce8785fbe6a52ccc3030bf9afd1753fb4.zip |
Add PR naming convention (#1051)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/enforce-pr-name.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/enforce-pr-name.yml b/.github/workflows/enforce-pr-name.yml new file mode 100644 index 00000000..cd848845 --- /dev/null +++ b/.github/workflows/enforce-pr-name.yml @@ -0,0 +1,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 }} |