Permit releases on 0.6 branch

This commit is contained in:
William Fu-Hinthorn
2025-10-20 16:58:04 -07:00
parent dc0ee4063d
commit 252d6efbbf
2 changed files with 54 additions and 14 deletions
+7 -1
View File
@@ -7,6 +7,12 @@ on:
required: true
type: string
description: "From which folder this pipeline executes"
release-branch:
required: false
type: string
default: "main"
env:
PYTHON_VERSION: "3.10"
@@ -16,7 +22,7 @@ permissions:
jobs:
build:
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/${{ inputs.release-branch }}'
runs-on: ubuntu-latest
outputs: