We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501ff12 commit 53b0315Copy full SHA for 53b0315
.github/workflows/post-pr-comment.yml
@@ -13,11 +13,9 @@ jobs:
13
runs-on: ubuntu-latest
14
steps:
15
- name: Download artifact
16
- uses: dawidd6/action-download-artifact@af92a8455a59214b7b932932f2662fdefbd78126
17
- with:
18
- workflow: ${{ github.event.workflow_run.workflow_id }}
19
- workflow_conclusion: success
20
- name: comment
+ run: gh run download "${{ github.event.workflow_run.id }}" --repo "${{ github.repository }}" --name "comment"
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
21
- run: |
22
PR=$(grep -o '^[0-9]\+$' pr.txt)
23
PR_HEAD_SHA=$(gh api "/repos/${{ github.repository }}/pulls/${PR}" --jq .head.sha)
0 commit comments