From dc5b57b8488425c449c4f62320c026ec24d005e1 Mon Sep 17 00:00:00 2001 From: 14Richa Date: Thu, 20 Jul 2023 16:13:29 +0530 Subject: [PATCH] changed token name --- .github/workflows/update-maintainers.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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