File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1717 post_comment :
1818 runs-on : ubuntu-latest
1919 steps :
20- - name : Download artifact
21- run : gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment"
20+ - name : Download artifacts
21+ run : |
22+ gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment-pr-number"
23+ gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment-body"
24+ gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment-id"
2225 env :
2326 GITHUB_TOKEN : ${{ github.token }}
2427 WORKFLOW_RUN_ID : ${{ github.event.workflow_run.id }}
Original file line number Diff line number Diff line change 3838 PR_NUMBER : ${{ github.event.number }}
3939 - uses : actions/upload-artifact@v4
4040 with :
41- name : comment
41+ name : comment-pr-number
4242 path : pr_number.txt
4343 if-no-files-found : error
4444 retention-days : 1
8080 - if : ${{ !cancelled() }}
8181 uses : actions/upload-artifact@v4
8282 with :
83- name : comment
83+ name : comment-body
8484 path : comment_body.txt
8585 if-no-files-found : error
8686 retention-days : 1
9696
9797 - uses : actions/upload-artifact@v4
9898 with :
99- name : comment
99+ name : comment-id
100100 path : comment_id.txt
101101 if-no-files-found : error
102102 retention-days : 1
You can’t perform that action at this time.
0 commit comments