Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require drafted release to be manually published #648

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}