From 357f66489d1263a3672ee7367decedea5f6be0ce Mon Sep 17 00:00:00 2001 From: Jeffrey Chien Date: Fri, 2 Aug 2024 19:29:36 -0400 Subject: [PATCH] Add test workflow. --- .github/workflows/application-signals-e2e-test.yml | 2 +- .github/workflows/integration-test.yml | 2 +- .github/workflows/test-workflow-run.yml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/test-workflow-run.yml diff --git a/.github/workflows/application-signals-e2e-test.yml b/.github/workflows/application-signals-e2e-test.yml index d01264d29b..00dbbca0eb 100644 --- a/.github/workflows/application-signals-e2e-test.yml +++ b/.github/workflows/application-signals-e2e-test.yml @@ -7,7 +7,7 @@ name: Application Signals E2E Test on: workflow_run: - workflows: [ Build Test Artifacts ] + workflows: [ Test Workflow Run, Build Test Artifacts ] types: - completed diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 482c45a7e4..1826e671e8 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -21,7 +21,7 @@ env: on: workflow_run: - workflows: [ Build Test Artifacts ] + workflows: [ Test Workflow Run, Build Test Artifacts ] types: - completed diff --git a/.github/workflows/test-workflow-run.yml b/.github/workflows/test-workflow-run.yml new file mode 100644 index 0000000000..fae2158a92 --- /dev/null +++ b/.github/workflows/test-workflow-run.yml @@ -0,0 +1,12 @@ +# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: MIT + +name: Test Workflow Run +on: + workflow_dispatch: + +jobs: + fail-the-step: + runs-on: ubuntu-latest + steps: + - run: echo 'Fail this' && exit 1 \ No newline at end of file