forked from shipwright-io/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release branch workflow from shared starter workflow template.
- Loading branch information
1 parent
098bd1f
commit 8cb4164
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Release branch starter workflow | ||
# See SHIP-0038: https://github.com/shipwright-io/community/pull/194 | ||
name: Create Release Branch | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release-version: | ||
required: true | ||
type: string | ||
description: "Semantic version for the release branch (vX.Y format)" | ||
git-ref: | ||
required: true | ||
type: string | ||
description: "Git ref to create the release branch from (defaults to main)" | ||
default: "main" | ||
jobs: | ||
create-release-branch: | ||
permissions: | ||
contents: write | ||
uses: shipwright-io/.github/.github/workflows/release-branch.yml@main | ||
with: | ||
release-version: ${{ inputs.release-version }} | ||
git-ref: ${{ inputs.git-ref }} |