diff --git a/.github/workflows/fetch_contributors.yml b/.github/workflows/fetch_contributors.yml index 11e1b5c8..debbdad6 100644 --- a/.github/workflows/fetch_contributors.yml +++ b/.github/workflows/fetch_contributors.yml @@ -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 @@ -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'