Skip to content

ci: test workflows

ci: test workflows #1

name: Test depends workflow
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_run:
workflows: ['Github Labeler']
types:
- completed
jobs:
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'