From 02cab215c72f5ed3bc6c80ea837ba4c3c600b442 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Wed, 27 Nov 2024 11:11:24 +0100 Subject: [PATCH] Fix commit ID for CI. --- .github/workflows/quality-monitor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quality-monitor.yml b/.github/workflows/quality-monitor.yml index 0c887a6..12c12cb 100644 --- a/.github/workflows/quality-monitor.yml +++ b/.github/workflows/quality-monitor.yml @@ -10,9 +10,12 @@ jobs: name: Build, test and monitor quality on Ubuntu steps: + - uses: actions/checkout@v4 + if: github.event_name == 'push' - uses: actions/checkout@v4 with: - ref: "refs/pull/${{ github.event.number }}/merge" + ref: "${{ github.event.pull_request.merge_commit_sha }}" + if: github.event_name == 'pull_request_target' - name: Set up JDK 21 uses: actions/setup-java@v4 with: