Skip to content

chore: test md template #66

chore: test md template

chore: test md template #66

name: Needs requiring successful dependent jobs
on:
push:
branches: main
pull_request:
branches: main
workflow_dispatch:
jobs:
A:
runs-on: ubuntu-latest
steps:
- run: echo "a"
B:
needs: [A]
runs-on: ubuntu-latest
steps:
- run: echo "b"
# Run only if A and B success
C:
needs: [A, B]
runs-on: ubuntu-latest
steps:
- run: echo "c"