Skip to content

Commit 4417e0f

Browse files
authored
Add GH_TOKEN environment variable to workflow
Added environment variable for GitHub token in workflow.
1 parent 3b335e9 commit 4417e0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-contributors-details.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
touch pr.json
3636
gh pr view $PR_NUMBER --json author,url,files > pr.json
3737
cat pr.json
38+
env:
39+
GH_TOKEN: ${{ github.token }}
3840

3941
- name: Pull any new changes
4042
run: git pull origin main

0 commit comments

Comments
 (0)