Skip to content

Commit e0ce8d6

Browse files
committed
Allow keeping releases drafts via repo-level GHA variable
1 parent 29898e3 commit e0ce8d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ jobs:
347347
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
348348

349349
- name: Publish the release
350+
if: vars.DRY_RUN_RELEASE != 'true' && vars.DRY_RUN_RELEASE != 'yes' && vars.DRY_RUN_RELEASE != '1'
350351
run: gh release --repo="$REPOSITORY" edit "$VERSION" --draft=false
351352
env:
352353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)