From d7cf5fc461b9dcefc8e8e90fd9c5cb359028c594 Mon Sep 17 00:00:00 2001 From: RainbowMango Date: Fri, 6 Jan 2023 14:23:25 +0800 Subject: [PATCH] Update protoc setup token Signed-off-by: RainbowMango --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31e947971..2b1884a05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,9 @@ jobs: uses: arduino/setup-protoc@v1 with: version: '3.x' - repo-token: ${{ secrets.GITHUB_TOKEN_FOR_SETUP_PROTOC }} + # Use the automatic token, so that this task can be run in the forked repo. + # https://docs.github.com/en/actions/security-guides/automatic-token-authentication + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: verify codegen run: hack/verify-codegen.sh - name: verify crdgen