From 2c1496974b06543ef103f2863a388a6991430857 Mon Sep 17 00:00:00 2001 From: Mila Page Date: Wed, 1 May 2024 14:31:18 -0700 Subject: [PATCH] Add branch param. --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69542465..27fb9f4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,11 @@ on: - prod - test default: prod + ref: + description: "The ref (sha or branch name) to use" + type: string + default: "main" + required: true permissions: read-all @@ -33,6 +38,7 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false + ref: "${{ inputs.ref }}" - name: Setup `hatch` uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main