Skip to content

Commit fbf24b1

Browse files
committed
fixup!
1 parent 2240b47 commit fbf24b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/generate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ jobs:
5656
echo "run_id=$ID" >> $GITHUB_OUTPUT
5757
5858
- name: Download metadata artifact
59-
if: ${{ github.event_name == 'pull_request' }}
59+
if: ${{ steps.main.outputs.run_id }}
6060
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6161
with:
6262
name: commit
6363
run-id: ${{ steps.main.outputs.run_id }}
6464
github-token: ${{ secrets.GITHUB_TOKEN }}
6565

6666
- id: pr
67-
if: ${{ github.event_name == 'pull_request' }}
67+
if: ${{ steps.main.outputs.run_id }}
6868
run: |
6969
SHA=$(cat commit)
7070
echo "sha=$SHA" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)