summaryrefslogtreecommitdiff
path: root/.github/workflows/commit-checker.yml
blob: acf622a87e94b4603c867e41bc5d08765c257e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Commit checker

on:
  pull_request:

jobs:
  commit-checker:
    name: Commit checker
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2
      with:
        fetch-depth: 4

    - name: Get pull-request commits
      uses: OpenTTD/actions/checkout-pull-request@v2

    - name: Check commits
      uses: OpenTTD/OpenTTD-git-hooks@main