We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2240b47 commit fbf24b1Copy full SHA for fbf24b1
1 file changed
.github/workflows/generate.yml
@@ -56,15 +56,15 @@ jobs:
56
echo "run_id=$ID" >> $GITHUB_OUTPUT
57
58
- name: Download metadata artifact
59
- if: ${{ github.event_name == 'pull_request' }}
+ if: ${{ steps.main.outputs.run_id }}
60
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
61
with:
62
name: commit
63
run-id: ${{ steps.main.outputs.run_id }}
64
github-token: ${{ secrets.GITHUB_TOKEN }}
65
66
- id: pr
67
68
run: |
69
SHA=$(cat commit)
70
echo "sha=$SHA" >> "$GITHUB_OUTPUT"
0 commit comments