Created
September 2, 2019 12:39
-
-
Save vibou/6db71089aedc532c8325cf99433492b5 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