Kaynağa Gözat

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 2 yıl önce
ebeveyn
işleme
1d2b7db482
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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 \