From b2a2a4a98f1dc7ea0945317af9323686020a2e9c Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Thu, 15 Jul 2021 22:11:24 +0800 Subject: [PATCH] ci: Add token for checkout instead Signed-off-by: Xuanwo --- .github/workflows/auto-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 99a2272..84dbd6a 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -25,6 +25,7 @@ jobs: uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} + token: ${{ secrets.ROBOT_GITHUB_TOKEN }} - name: Auto build run: make build @@ -33,4 +34,3 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Auto build to generate code - token: ${{ secrets.ROBOT_GITHUB_TOKEN }}