You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -297,17 +297,14 @@ jobs:
297
297
# Validate the build to master was successful; open an issue if not
298
298
validate:
299
299
name: Validate successful build on master
300
-
needs: [test, test-wtr, e2e]
300
+
needs: [build, test, test-wtr, e2e]
301
301
if: |
302
302
always() &&
303
303
github.event_name == 'push'
304
304
runs-on: ubuntu-latest
305
305
steps:
306
306
- name: Open issue if build breaks
307
-
if: |
308
-
needs.test.result == 'failure' ||
309
-
needs.test-wtr.result == 'failure' ||
310
-
needs.e2e.result == 'failure'
307
+
if: needs.build.outcome == 'failure'
311
308
uses: imjohnbo/issue-bot@v3
312
309
with:
313
310
assignees: "castastrophe"
@@ -317,4 +314,19 @@ jobs:
317
314
column: Prioritized
318
315
close-previous: true
319
316
title: "❌ Build is failing on master"
320
-
body: "It looks like the build is currently failing on the master branch. See failed [action results](https://github.com/patternfly/patternfly-elements/actions/runs/${{ github.run_id }}) for more details."
317
+
body: "It looks like the build is currently failing on the master branch. See failed [action results](https://github.com/patternfly/patternfly-elements/actions/runs/${{ github.run_id }}) for more details."
318
+
- name: Open issue if tests fail
319
+
if: |
320
+
needs.test.outcome == 'failure' ||
321
+
needs.test-wtr.outcome == 'failure' ||
322
+
needs.e2e.outcome == 'failure'
323
+
uses: imjohnbo/issue-bot@v3
324
+
with:
325
+
assignees: "castastrophe"
326
+
labels: "fix, priority: medium"
327
+
pinned: true
328
+
project: 2# The project-number from organization project
329
+
column: Prioritized
330
+
close-previous: true
331
+
title: "🧪 Tests are failing on master"
332
+
body: "It looks like the build is currently failing on the master branch. See failed [action results](https://github.com/patternfly/patternfly-elements/actions/runs/${{ github.run_id }}) for more details."
0 commit comments