mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 17:09:07 +08:00
update github actions token and permission
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
name: Release UI
|
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:
|
on:
|
||||||
push:
|
push:
|
||||||
# Sequence of patterns matched against refs/tags
|
# Sequence of patterns matched against refs/tags
|
||||||
@@ -157,7 +161,7 @@ jobs:
|
|||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: geekgeekrun-ui@${{ github.sha }}/*
|
artifacts: geekgeekrun-ui@${{ github.sha }}/*
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
token: ${{ secrets.GH_ACTION_SECRET }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
body: TODO New Release.
|
body: TODO New Release.
|
||||||
|
|
||||||
- name: Create release for public
|
- name: Create release for public
|
||||||
@@ -168,5 +172,5 @@ jobs:
|
|||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: geekgeekrun-ui@${{ github.sha }}/*
|
artifacts: geekgeekrun-ui@${{ github.sha }}/*
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
token: ${{ secrets.GH_ACTION_SECRET }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
body: TODO New Release.
|
body: TODO New Release.
|
||||||
|
|||||||
Reference in New Issue
Block a user