Files @ r25969:ecbd8fecb7f6
Branch filter:

Location: cpp/openttd-patchpack/source/.github/workflows/commit-checker.yml - annotation

SamuXarick
Fix: wrong error message when building canals over ship depots / locks

IsTileType() also considers ship depots and locks water. IsWaterTile() does the right thing.
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