jobs:
pull_request:
uses: Nullus157/.github/.github/workflows/pull_request.yml@main
staging:
uses: Nullus157/.github/.github/workflows/staging.yml@main
success:
runs-on: ubuntu-latest
needs:
if: ${{ always() }}
steps:
- if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
- if: ${{ contains(needs.*.result, 'cancelled') }}
run: exit 1
- if: ${{ contains(needs.*.result, 'skipped') }}
run: exit 1
on:
merge_group:
type: