Skip to content

Commit 3988518

Browse files
Update .github/workflows/github-pipelines.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent c47e11a commit 3988518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-pipelines.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
npm test # Replace with the appropriate test command for your app
2525
2626
- name: Simulate failure scenario
27-
if: github.ref == 'refs/heads/test-failure'
27+
if: github.ref == 'refs/heads/test-failures'
2828
run: |
2929
echo "Simulating build failure"
3030
exit 1
3131
3232
- name: Simulate syntax error
3333
if: github.ref == 'refs/heads/test-failures'
3434
run: |
35-
bash -c 'echo "Simulating syntax error"; ( syntax error here'
35+
bash -c 'echo "Simulating syntax error"; if [ true ]; then echo "missing fi"'

0 commit comments

Comments
 (0)