OpenTTD-patches/.github/workflows/commit-checker.yml

26 lines
507 B
YAML
Raw Normal View History

2019-10-05 19:07:18 +00:00
name: Commit checker
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2019-10-05 19:07:18 +00:00
jobs:
commit-checker:
name: Commit checker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
2019-10-05 19:07:18 +00:00
with:
fetch-depth: 4
- name: Get pull-request commits
uses: OpenTTD/actions/checkout-pull-request@v2
2019-10-05 19:07:18 +00:00
- name: Check commits
uses: OpenTTD/OpenTTD-git-hooks@main