From 7b3390745a269cb599e5619990fefb71d431881b Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Sun, 11 Jan 2026 09:31:00 +0800 Subject: [PATCH] update github actions token and permission --- .github/workflows/release-ui.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-ui.yml b/.github/workflows/release-ui.yml index 35e2c34..3b96ff0 100644 --- a/.github/workflows/release-ui.yml +++ b/.github/workflows/release-ui.yml @@ -1,5 +1,9 @@ name: Release UI +permissions: + contents: write # required to create releases and push tags + packages: write # optional — needed if you publish packages or upload package-related assets + on: push: # Sequence of patterns matched against refs/tags @@ -157,7 +161,7 @@ jobs: allowUpdates: true artifacts: geekgeekrun-ui@${{ github.sha }}/* tag: ${{ github.ref }} - token: ${{ secrets.GH_ACTION_SECRET }} + token: ${{ secrets.GITHUB_TOKEN }} body: TODO New Release. - name: Create release for public @@ -168,5 +172,5 @@ jobs: allowUpdates: true artifacts: geekgeekrun-ui@${{ github.sha }}/* tag: ${{ github.ref }} - token: ${{ secrets.GH_ACTION_SECRET }} + token: ${{ secrets.GITHUB_TOKEN }} body: TODO New Release.