From 4127f6abd7d38be4859d6fb8fd5a78447a079f0f Mon Sep 17 00:00:00 2001 From: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:12:23 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20test=20release?= =?UTF-8?q?=20trigger=20(#1978)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 🤖 add trigger for new workflow --------- Co-authored-by: Carlos Alcaide Corvo --- .../build-artifacts-for-testing-trigger.yml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/build-artifacts-for-testing-trigger.yml diff --git a/.github/workflows/build-artifacts-for-testing-trigger.yml b/.github/workflows/build-artifacts-for-testing-trigger.yml new file mode 100644 index 000000000..dec084a14 --- /dev/null +++ b/.github/workflows/build-artifacts-for-testing-trigger.yml @@ -0,0 +1,34 @@ +name: "Trigger Build Artifacts for Testing" + +on: + workflow_dispatch: + inputs: + branch: + description: Please use tag-like format n.n.n-someword (1.111.11-beta) + required: true + product_version: + required: true + type: string + description: The version number belonging to the oss binary to be used + commit: + required: true + type: string + description: The git SHA of the oss artifacts to be used + +jobs: + trigger-gha-build-artifacts-for-testing: + runs-on: ubuntu-latest + steps: + - name: Release description + if: github.event_name == 'workflow_dispatch' + run: | + echo "Triggering Build Artifacts for Testing using BRANCH and TEST_TAG ${{ github.event.inputs.branch }}" + - name: Trigger Build Artifacts for Testing in boundary-ui-releases + run: | + export GITHUB_TOKEN="${{ secrets.ELEVATED_GITHUB_TOKEN }}" + gh workflow run build-artifacts-for-testing.yml \ + --repo hashicorp/boundary-ui-releases \ + --ref main \ + -f TAG="${{ inputs.branch }}" \ + -f PRODUCT_VERSION="${{ inputs.product_version }}" \ + -f COMMIT="${{ inputs.commit }}" \ \ No newline at end of file