From f2e54773692f04d11dced3b9cb4ec8976650c4ef Mon Sep 17 00:00:00 2001 From: DrDisagree Date: Wed, 1 Jan 2025 15:52:11 +0600 Subject: [PATCH] Use special access token for fetching contributors --- .github/workflows/fetch_contributors.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fetch_contributors.yml b/.github/workflows/fetch_contributors.yml index 11e1b5c..debbdad 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'