Skip to content

Commit e56904e

Browse files
committed
fix(actions): use GH_PAT for contributors workflow checkout
1 parent fc25f8d commit e56904e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/update-contributors.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323
with:
24-
# Use the default branch; closed PRs merged to main will be reflected here
2524
ref: main
2625
fetch-depth: 0
26+
token: ${{ secrets.GH_PAT }}
2727

2828
- name: Setup Node.js
2929
uses: actions/setup-node@v4
@@ -44,5 +44,4 @@ jobs:
4444
file_pattern: "README.md contributors.json"
4545
branch: main
4646
commit_user_name: "github-actions[bot]"
47-
commit_user_email: "github-actions[bot]@users.noreply.github.com"
48-
commit_author: "udaycodespace <211140575+udaycodespace@users.noreply.github.com>"
47+
commit_user_email: "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)