aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/enforce-pr-name.yml19
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 }}