File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Failure Simulator
1+ # name: Failure Simulator
22
3- # This triggers on every push or can be run manually from the Actions tab
4- on :
5- push :
6- workflow_dispatch :
3+ # # This triggers on every push or can be run manually from the Actions tab
4+ # on:
5+ # push:
6+ # workflow_dispatch:
77
8- jobs :
9- simulate-failure :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Checkout code
13- uses : actions/checkout@v4
8+ # jobs:
9+ # simulate-failure:
10+ # runs-on: ubuntu-latest
11+ # steps:
12+ # - name: Checkout code
13+ # uses: actions/checkout@v4
1414
15- - name : Log Intent
16- run : echo "Starting the workflow... everything looks fine so far."
15+ # - name: Log Intent
16+ # run: echo "Starting the workflow... everything looks fine so far."
1717
18- - name : passes no matter what
19- run : |
20- echo "yay passed"
21- # Any non-zero exit code tells GitHub the step failed
22- exit 0
18+ # - name: passes no matter what
19+ # run: |
20+ # echo "yay passed"
21+ # # Any non-zero exit code tells GitHub the step failed
22+ # exit 0
2323
24- - name : This won't run
25- run : echo "You will never see this message because the step above failed."
24+ # - name: This won't run
25+ # run: echo "You will never see this message because the step above failed."
You can’t perform that action at this time.
0 commit comments