From ba8099518353eafc95aa1e49c6b63cfe6ca1615a Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 12 Oct 2022 17:46:31 +0100 Subject: ci: T4748: add a CI action to check pull request title and commit messages format --- .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') diff --git a/.github/workflows/pull-request-message-check.yml b/.github/workflows/pull-request-message-check.yml new file mode 100644 index 000000000..8c206a5ab --- /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