From 4c5286c726135374689e411807a0ea9b0ca6a921 Mon Sep 17 00:00:00 2001 From: Jonathan Gonzalez V Date: Mon, 27 Nov 2023 16:36:53 -0300 Subject: [PATCH] chore: added a new input `branch` With this new input we can select which branch we want to use from the cloudnative-pg project Closes #23 Signed-off-by: Jonathan Gonzalez V --- .github/workflows/continuous-delivery.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 57f579b..6d8f64e 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -1,6 +1,11 @@ name: continuous-delivery on: workflow_dispatch: + inputs: + branch: + description: "branch name used to pull the operator (default: main)" + required: true + default: "main" schedule: - cron: '0 1 * * *' @@ -108,7 +113,7 @@ jobs: uses: actions/checkout@v4 with: repository: cloudnative-pg/cloudnative-pg - ref: main + ref: ${{ env.BRANCH }} fetch-depth: 0 - name: Install Go