From 78d086369bc7e808dfbfc360b1205f919fa787c5 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 15 Oct 2024 08:50:18 +0100 Subject: [PATCH] ci: Always run PR comments job --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc1bf54d7..5ecc0a26a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,10 @@ env: PACKAGE_PATH: ./dist jobs: + # Always run this job, even if not on PR, since other jobs need it. pr-comment-flags: runs-on: ubuntu-latest needs: lint-clang - if: ${{ github.event_name == 'pull_request' }} outputs: no-sonar: ${{ steps.check.outputs.no-sonar }} @@ -42,6 +42,7 @@ jobs: uses: actions/checkout@v4 - name: Check PR comment for flags + if: ${{ github.event_name == 'pull_request' }} id: check env: PR_BODY: ${{ github.event.pull_request.body }}