From 9ec72d07eb8d10e9bbd8906c5f59af1e5bcca31e Mon Sep 17 00:00:00 2001 From: mtweeman Date: Tue, 11 Jun 2024 14:02:46 +0200 Subject: [PATCH] Update triggered.yaml --- .github/workflows/triggered.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/triggered.yaml b/.github/workflows/triggered.yaml index 8a7fc8f..6d389df 100644 --- a/.github/workflows/triggered.yaml +++ b/.github/workflows/triggered.yaml @@ -1,13 +1,9 @@ name: Triggered on: - workflow_run: - workflows: - - Test name + repository_dispatch: types: - - completed - branches: - - main + - test workflow_dispatch: permissions: @@ -16,7 +12,7 @@ permissions: jobs: test: runs-on: ubuntu-latest - if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.jobs.test.outputs.flag == 'true' + if: github.event.name == 'repository_dispatch' && github.event.flag == 'true' steps: - uses: actions/checkout@v4