-
-
Save Bharathkumarraju/0ad810779d02f81398322932fc953091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
should_run: | |
name: should run the next job | |
runs-on: ubuntu-latest | |
steps: | |
- name: check if vb is the commiter | |
if: github.event.pusher.name != 'vibou' | |
run: exit 1 # the job fails if not vibou | |
perform_action: | |
name: should run the next job | |
runs-on: ubuntu-latest | |
needs: should_run | |
steps: | |
- name: execute job | |
run: echo "The commiter is vibou" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment