diff --git a/.github/workflows/update-maintainers.yml b/.github/workflows/update-maintainers.yml index 33b50f43..dfc03689 100644 --- a/.github/workflows/update-maintainers.yml +++ b/.github/workflows/update-maintainers.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v3 with: repository: asyncapi/community - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_TOKEN}} path: community - name: Setup Node.js @@ -45,7 +45,7 @@ jobs: - name: Compare CODEOWNERS id: compare-codeowners env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} uses: actions/github-script@v6 with: script: | @@ -154,7 +154,7 @@ jobs: run: | git add . git commit -m "Update MAINTAINERS.yaml" - git push https://${{ secrets.GITHUB_TOKEN }}@github.com/asyncapi/community update-maintainers-${{ github.run_id }} + git push https://${{ secrets.GH_TOKEN}}@github.com/asyncapi/community update-maintainers-${{ github.run_id }} - name: Create PR working-directory: ./community