summaryrefslogtreecommitdiff
path: root/.github/workflows/pull-request-message-check.yml
blob: 24878797394e5db3382d80a3d1f3fc8a9666f3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
name: Check pull request message format

on:
  pull_request:
    branches:
      - current
      - sagitta
      - equuleus

jobs:
  check-pr-title:
    name: Check pull request title
    runs-on: ubuntu-latest
    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 }}'