summaryrefslogtreecommitdiff
path: root/.github/workflows/pull-request-message-check.yml
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-07 21:39:30 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-07 21:41:04 +0100
commiteaced4c7ed213942c19b31dcd8c3a62cbb2c818a (patch)
tree2fd9051fff70c53ac1046291d9735f4bde09d8a2 /.github/workflows/pull-request-message-check.yml
parentc7708bc6ef689f5744272a15a601a56a03890afa (diff)
downloadvyatta-wanloadbalance-eaced4c7ed213942c19b31dcd8c3a62cbb2c818a.tar.gz
vyatta-wanloadbalance-eaced4c7ed213942c19b31dcd8c3a62cbb2c818a.zip
GitHub: add common actions1.3.81.3.71.3.6equuleus
(cherry picked from commit 534e3f06d388e85ad122594676df0abc05ac176a)
Diffstat (limited to '.github/workflows/pull-request-message-check.yml')
-rw-r--r--.github/workflows/pull-request-message-check.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-message-check.yml b/.github/workflows/pull-request-message-check.yml
new file mode 100644
index 0000000..8c206a5
--- /dev/null
+++ b/.github/workflows/pull-request-message-check.yml
@@ -0,0 +1,23 @@
+---
+name: Check pull request message format
+
+on:
+ pull_request:
+ branches:
+ - current
+ - crux
+ - equuleus
+
+jobs:
+ check-pr-title:
+ name: Check pull request title
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ timeout-minutes: 2
+ - name: Install the requests library
+ run: pip3 install requests
+ - name: Check the PR title
+ timeout-minutes: 2
+ run: |
+ ./scripts/check-pr-title-and-commit-messages.py '${{ github.event.pull_request.url }}'