From f21a4a9fdcec4fdfe68319991cdc0775f4ddf1ed Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 12 Mar 2024 10:30:46 +0200 Subject: [PATCH] Fix condition --- .github/actions/pr-comment-data-export/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/pr-comment-data-export/action.yml b/.github/actions/pr-comment-data-export/action.yml index dc70c5d27a..8a8cc50232 100644 --- a/.github/actions/pr-comment-data-export/action.yml +++ b/.github/actions/pr-comment-data-export/action.yml @@ -20,7 +20,7 @@ inputs: runs: using: composite steps: - - if: github.event.workflow_run.event == 'pull_request' + - if: github.event_name == 'pull_request' shell: bash run: | mkdir comment-data @@ -29,7 +29,7 @@ runs: echo "${{ inputs.log-url }}" > comment-data/log-url echo "${{ github.event.number }}" > comment-data/pr-number - - if: github.event.workflow_run.event == 'pull_request' + - if: github.event_name == 'pull_request' uses: actions/upload-artifact@v4 with: name: ${{ inputs.name }}