Skip to content

Commit eea4c2c

Browse files
authored
chore: fix update screenshots workflow (#251)
1 parent ebb5aa3 commit eea4c2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/updtae-screenshots.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
id: start_working
4747
run: |
4848
echo "reaction_id=$(gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions -f 'content=eyes' | jq .id)" >> $GITHUB_OUTPUT
49+
env:
50+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
4951

5052
- name: Checkout pull request
5153
run: gh pr checkout ${{ github.event.issue.number }}
@@ -103,6 +105,8 @@ jobs:
103105
run: |
104106
gh api --method DELETE repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions/${{ steps.start_working.outputs.reaction_id }}
105107
gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions -f 'content=${{ steps.check_changes.outputs.changes == 'true' && '+1' || 'confused' }}'
108+
env:
109+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
106110

107111
# pretty summary for humans
108112
- name: Summary

0 commit comments

Comments
 (0)