Skip to content

Commit 66ede0f

Browse files
committed
test
1 parent 1d1449c commit 66ede0f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,13 +1172,13 @@ jobs:
11721172
issues: write
11731173
steps:
11741174
- name: Check out current commit
1175-
if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure')
1175+
if: (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && contains(needs.*.result, 'failure')
11761176
uses: actions/checkout@v6
11771177
with:
11781178
sparse-checkout: .github
11791179

11801180
- name: Create issues for failed jobs
1181-
if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure')
1181+
if: (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && contains(needs.*.result, 'failure')
11821182
uses: actions/github-script@v7
11831183
with:
11841184
script: |

dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ test('To not crash app from withMonitor', async ({ baseURL }) => {
5656
expect(response2.message).toBe('This is an exception withMonitor: 2');
5757
expect(response1.pid).toBe(response2.pid); //Just to double-check, TBS
5858
});
59+
60+
// TODO: Remove this test - added temporarily to test flaky CI issue creation
61+
test('Intentional failure for testing flaky CI workflow', async () => {
62+
expect(true).toBe(false);
63+
});

0 commit comments

Comments
 (0)