Skip to content

Try conditional

Try conditional #1

Workflow file for this run

name: pr

Check failure on line 1 in .github/workflows/pr.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: never-run-test
on:
push:
branches:
- "pull-request/[0-9]+"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr-builder:
needs:
- never-run-test
- never-run
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
never-run-test:
runs-on: ubuntu-latest
outputs:
run-never-run: true
never-run:
needs: never-run-test
runs-on: ubuntu-latest
if: ${{ needs.never-run-test.outputs.run-never-run == 'true' }}
steps:
- run: |
echo "This should never run!"
exit 1