From cefcffffe0a4a28e10f2f383032b2bf3bc8627db Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 17 Dec 2023 08:57:57 +0100 Subject: GitHub: update workflows --- .github/workflows/pull-request-message-check.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pull-request-message-check.yml (limited to '.github/workflows/pull-request-message-check.yml') 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 }}' -- cgit v1.2.3