Skip to content

Commit

Permalink
Use special access token for fetching contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Jan 1, 2025
1 parent 93c7882 commit f2e5477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fetch_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
committer_email: "crazymahmud08@gmail.com"
pr_title_on_protected: "Update contributors list"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Save contributors in assets
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Commit changes and push
uses: github-actions-x/commit@v2.9
with:
github-token: ${{ secrets.GH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'ci: update contributors.json'
force-add: 'true'
Expand Down

0 comments on commit f2e5477

Please sign in to comment.