Przeglądaj źródła

fix: update CLA Assistant action version and adjust token usage

myhloli 4 miesięcy temu
rodzic
commit
2c0d971e24
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      .github/workflows/cla.yml

+ 2 - 2
.github/workflows/cla.yml

@@ -18,9 +18,9 @@ jobs:
     steps:
       - name: "CLA Assistant"
         if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
-        uses: contributor-assistant/github-action@v2.5.0
+        uses: contributor-assistant/github-action@v2.6.1
         env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
           # the below token should have repo scope and must be manually added by you in the repository's secret
           # This token is required only if you have configured to store the signatures in a remote repository/organization
           PERSONAL_ACCESS_TOKEN: ${{ secrets.RELEASE_TOKEN }}