Skip to content

Commit 5821631

Browse files
committed
build: use token with required permissions
1 parent a726af4 commit 5821631

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update_pr_copyright_years.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: |
6767
pr_response=$(curl -s \
6868
-H "Accept: application/vnd.github.v3+json" \
69-
-H "Authorization: Bearer $GITHUB_TOKEN" \
69+
-H "Authorization: Bearer ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}" \
7070
"https://api.github.com/repos/stdlib-js/stdlib/pulls/${{ inputs.pull_request_number }}")
7171
7272
# Escape control characters:

0 commit comments

Comments
 (0)