Skip to content

Commit 8996811

Browse files
williambdeanricardoV94
authored andcommitted
Allow slow-tests-issue workflow to skip on script failure
Add continue-on-error: true to the script step to prevent the entire workflow from failing when the script encounters an error. This allows the scheduled workflow to complete successfully even if the script fails.
1 parent cfa76f5 commit 8996811

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/slow-tests-issue.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Slow Tests Issue Body
66
on:
77
workflow_dispatch:
88
schedule:
9-
- cron: '0 */6 * * *'
9+
- cron: "0 */6 * * *"
1010

1111
permissions:
1212
issues: write
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
python-version: "3.11"
2626
- name: Trigger the script
27+
continue-on-error: true
2728
working-directory: scripts/slowest_tests
2829
shell: zsh {0}
2930
run: source update-slowest-times-issue.sh

0 commit comments

Comments
 (0)