Skip to content

Commit

Permalink
Require drafted release to be manually published (#648)
Browse files Browse the repository at this point in the history
Signed-off-by: jsetton <[email protected]>
  • Loading branch information
jsetton authored Jan 11, 2024
1 parent 062a9eb commit fad5dbe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
git commit -a -m "Bump version to ${{ steps.pkg-version.outputs.version }}"
git push
publish:
name: Release Publishing
draft:
name: Release Drafting
runs-on: ubuntu-latest
needs: pkg-update

Expand All @@ -55,11 +55,10 @@ jobs:
pull-requests: write

steps:
- name: Draft and publish a new release
- name: Draft a new release
uses: release-drafter/release-drafter@v5
with:
version: ${{ needs.pkg-update.outputs.version }}
prerelease: ${{ startsWith(github.event.inputs.release-type, 'pre') }}
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fad5dbe

Please sign in to comment.