Skip to content
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
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ on:
- patch
- minor
- major
draft:
description: 'Create the release as a draft'
required: true
default: false
type: boolean

jobs:
release:
runs-on: ubuntu-latest
permissions:
copilot-requests: write
contents: write
pull-requests: read

Expand Down Expand Up @@ -54,15 +60,14 @@ jobs:
head-ref: ${{ github.sha }}
env:
GITHUB_TOKEN: ${{ github.token }}
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.version.outputs.next }}
name: ${{ steps.version.outputs.next }}
body: ${{ steps.notes.outputs.release-notes }}
draft: true
draft: ${{ inputs.draft }}
target_commitish: ${{ github.sha }}

- name: Update major version tag
Expand Down
Loading