From 5669d232e3430932ae9b3aeba3dcb7879cc419c5 Mon Sep 17 00:00:00 2001 From: Pengyuan Zhao Date: Fri, 23 Feb 2024 15:36:02 -0500 Subject: [PATCH] ci: set checkout token --- .github/workflows/test-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 8be876141..85e7981a1 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -94,12 +94,13 @@ jobs: with: ref: main fetch-depth: 0 + token: ${{ secrets.TOKEN }} - name: Trigger release env: GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} - GITHUB_TOKEN: ${{ secrets.TOKEN }} + # GITHUB_TOKEN: ${{ secrets.TOKEN }} CI: true run: | echo "$GPG_SECRET_KEY" | base64 --decode | gpg --import --no-tty --batch --yes