mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-06 20:02:47 +08:00
update github actions token and permission
This commit is contained in:
8
.github/workflows/release-ui.yml
vendored
8
.github/workflows/release-ui.yml
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user