update github actions token and permission

This commit is contained in:
geekgeekrun
2026-01-11 09:31:00 +08:00
parent b2b1cecfa9
commit 7b3390745a

View File

@@ -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.