Code Issues Pull Requests Actions Packages Projects Releases 15 Wiki Activity Security Code Quality

ci: Add draft option to release workflow to allow for preliminary review before final release
gitea/global-workflow: Release / Release (push) Successful in 6s

This commit is contained in:
tienbh committed 2026-11-21 20:46:29 +07:00 Verified
1 parent 455e71baff
commit c37fb53dd3
1 file changed
+2 -1
+2 -1
View File
@@ -63,4 +63,5 @@ jobs:
# prerelease only when the tag contains "-alpha", "-beta" or "-rc". ex: v1.0.0-alpha.1, v1.0.0-beta.1, v1.0.0-rc.1 # prerelease only when the tag contains "-alpha", "-beta" or "-rc". ex: v1.0.0-alpha.1, v1.0.0-beta.1, v1.0.0-rc.1
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc') }} prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc') }}
body_path: release-notes.md body_path: release-notes.md
token: ${{ env.RELEASE_TOKEN }} # Use this token if you want user author is 'github-actions' bot token: ${{ env.RELEASE_TOKEN }} # Use this token if you want user author is 'github-actions' bot
draft: true