Browse Source

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.
pull/122/head
煎饼果子卷鲨鱼辣椒 5 months ago
parent
commit
e65c5f5fa8
  1. 7
      .github/workflows/auto-tag.yml

7
.github/workflows/auto-tag.yml

@ -49,9 +49,6 @@ jobs:
release: release:
needs: auto-tag needs: auto-tag
if: success()
uses: ./.github/workflows/release.yml 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…
Cancel
Save