summaryrefslogtreecommitdiff
path: root/.github/workflows/check-pr-message.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/check-pr-message.yml')
-rw-r--r--.github/workflows/check-pr-message.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/check-pr-message.yml b/.github/workflows/check-pr-message.yml
new file mode 100644
index 000000000..625ba2d75
--- /dev/null
+++ b/.github/workflows/check-pr-message.yml
@@ -0,0 +1,17 @@
+---
+name: Check pull request message format
+
+on:
+ pull_request_target:
+ branches:
+ - current
+ types: [opened, synchronize, edited]
+
+permissions:
+ pull-requests: write
+ contents: read
+
+jobs:
+ check-pr-title:
+ uses: vyos/.github/.github/workflows/check-pr-message.yml@current
+ secrets: inherit