Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 12, 2024
1 parent 45ca55f commit f21a4a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/pr-comment-data-export/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit f21a4a9

Please sign in to comment.