From 40abec1b5cefadc27fdf97c8476aa9967b645a5c Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Tue, 4 Feb 2025 16:04:25 -0800 Subject: [PATCH] Use WORKFLOW_TOKEN secret token --- .github/workflows/update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e7aa9f9..93f6381 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -20,6 +20,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 + with: + # Fine-grained PAT with contents:write and workflows:write scopes + token: ${{ secrets.WORKFLOW_TOKEN }} - uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # 5.3.0 with: go-version: "^1.23"