From ceaf98087c8108bfb526790c8e5881bce94743d8 Mon Sep 17 00:00:00 2001 From: Adam Kaplan Date: Thu, 21 Mar 2024 15:14:30 -0400 Subject: [PATCH] SHIP-0038: Release Branch Workflow Create release branch workflow from org starter workflow. --- .github/workflows/release-branch.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release-branch.yml diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml new file mode 100644 index 00000000..e1bdd922 --- /dev/null +++ b/.github/workflows/release-branch.yml @@ -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 }}