mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 04:22:06 +08:00
chore: update GitHub Actions workflow to streamline release process
- Removed explicit permissions and secrets from auto-tag.yml, inheriting them instead for improved security and simplicity. - Added a conditional check for the release job to only run on successful completion of the auto-tag job, enhancing workflow reliability.
This commit is contained in:
parent
c681b2473c
commit
e65c5f5fa8
7
.github/workflows/auto-tag.yml
vendored
7
.github/workflows/auto-tag.yml
vendored
@ -49,9 +49,6 @@ jobs:
|
||||
|
||||
release:
|
||||
needs: auto-tag
|
||||
if: success()
|
||||
uses: ./.github/workflows/release.yml
|
||||
permissions: write-all
|
||||
secrets:
|
||||
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
PASSPHRASE: ${{ secrets.PASSPHRASE }}
|
||||
secrets: inherit
|
||||
|
Loading…
x
Reference in New Issue
Block a user