Skip to content

ci: test triger

ci: test triger #1

Workflow file for this run

name: rerun-test
on:
workflow_run:
workflows: [test]
types: [completed]
jobs:
check-conclusion:
runs-on: ubuntu-latest
steps:
- run: echo 'Workflow conclusion: ${{ github.event.workflow_run.conclusion }}'

Check failure on line 12 in .github/workflows/rerun.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rerun.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo 'The triggering workflow passed'
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed'