Skip to content

Commit b8c9bdf

Browse files
authored
add github token to get artifacts (#248)
1 parent 77c3209 commit b8c9bdf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/post-coverage-comment.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,19 @@ jobs:
1919
pull-requests: write
2020

2121
steps:
22-
- name: Download coverage report artifact
22+
- name: Download PR number artifact
2323
uses: actions/download-artifact@v4
2424
with:
25-
name: coverage-report-for-comment
25+
name: pr-number-for-comment
2626
run-id: ${{ github.event.workflow_run.id }}
27+
github-token: ${{ secrets.GITHUB_TOKEN }}
2728

28-
- name: Download PR number artifact
29+
- name: Download coverage report artifact
2930
uses: actions/download-artifact@v4
3031
with:
31-
name: pr-number-for-comment
32+
name: coverage-report-for-comment
3233
run-id: ${{ github.event.workflow_run.id }}
34+
github-token: ${{ secrets.GITHUB_TOKEN }}
3335

3436
- name: Post comment
3537
uses: actions/github-script@v7

0 commit comments

Comments
 (0)