From 560010a2d85ba7bb3645a8e32ea0681b4290aa1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guilloux?= Date: Tue, 7 Jan 2025 21:57:26 +0100 Subject: [PATCH] Fix: Always run annotation check for PRs (#87) --- .github/workflows/rw-entry-testing-baseset.yml | 8 +++++++- .github/workflows/rw-entry-testing-docker-py.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rw-entry-testing-baseset.yml b/.github/workflows/rw-entry-testing-baseset.yml index 6a851cd..e6f4169 100644 --- a/.github/workflows/rw-entry-testing-baseset.yml +++ b/.github/workflows/rw-entry-testing-baseset.yml @@ -45,4 +45,10 @@ jobs: needs: - build - uses: ./.github/workflows/rw-annotation-check.yml + if: always() && github.event_name == 'pull_request' + + runs-on: ubuntu-latest + + steps: + - name: Check annotations + uses: OpenTTD/actions/annotation-check@v5 diff --git a/.github/workflows/rw-entry-testing-docker-py.yml b/.github/workflows/rw-entry-testing-docker-py.yml index a82dcc2..1481156 100644 --- a/.github/workflows/rw-entry-testing-docker-py.yml +++ b/.github/workflows/rw-entry-testing-docker-py.yml @@ -59,4 +59,10 @@ jobs: - black # not codeql, as that reports its own status - uses: ./.github/workflows/rw-annotation-check.yml + if: always() && github.event_name == 'pull_request' + + runs-on: ubuntu-latest + + steps: + - name: Check annotations + uses: OpenTTD/actions/annotation-check@v5