Explorar o código

Switch reviewdog to a bespoke secret. (#3757)

This uses a token from the low-privilege CarbonInfraBot, which should
allow us to separate out permission for Google's CLA bot.
Jon Ross-Perkins %!s(int64=2) %!d(string=hai) anos
pai
achega
1d2b7db482
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .github/workflows/pre_commit_suggestions.yaml

+ 2 - 1
.github/workflows/pre_commit_suggestions.yaml

@@ -47,7 +47,8 @@ jobs:
       # matching the diff that pre-commit created.
       - name: Create suggestions
         env:
-          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          REVIEWDOG_GITHUB_API_TOKEN:
+            ${{ secrets.CARBON_INFRA_BOT_FOR_REVIEWDOG }}
         run: |
           cat ./diff | \
           GITHUB_EVENT_PATH=./event \