Skip to content

Commit

Permalink
Update triggered.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtweeman authored Jun 11, 2024
1 parent 87a60ff commit 9ec72d0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/triggered.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Triggered

on:
workflow_run:
workflows:
- Test name
repository_dispatch:
types:
- completed
branches:
- main
- test
workflow_dispatch:

permissions:
Expand All @@ -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
Expand Down

0 comments on commit 9ec72d0

Please sign in to comment.