Skip to content

Dependent Workflow

Dependent Workflow #1

Workflow file for this run

name: Dependent Workflow
on:
workflow_run:
workflows: ["Main Workflow"]
types:
- completed
jobs:
notify:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run a one-line script
run: echo "Hello, this is the dependent workflow running after the main workflow!"