From d007de4fa5e1973f02b388f9c183536a2b2cddc5 Mon Sep 17 00:00:00 2001 From: Brian Duranleau Date: Tue, 19 Mar 2024 15:45:50 -0500 Subject: [PATCH] ci: add trigger to test suite workflows --- .github/workflows/trigger-test-suite.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/trigger-test-suite.yml diff --git a/.github/workflows/trigger-test-suite.yml b/.github/workflows/trigger-test-suite.yml new file mode 100644 index 000000000..4b5b50a69 --- /dev/null +++ b/.github/workflows/trigger-test-suite.yml @@ -0,0 +1,23 @@ +# Copyright 2020 New Relic Corporation. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# + +name: trigger-test-suite + +on: + push: + branches: + - main + - 'dev' + pull_request: + +jobs: + trigger-multiverse-tests: + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ secrets.TEST_SUITE_REPO_GH_TOKEN }} + steps: + - name: Trigger Multiverse Test Suite + run: | + gh workflow run -R ${{ secrets.TEST_SUITE_REPO }} ${{ secrets.MULTIVERSE_WORKFLOW }} + -f agent_git_ref=${{ github.ref_name }}