提交 89968117 authored 作者: Will Dean's avatar Will Dean 提交者: Ricardo Vieira

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.
上级 cfa76f5d
...@@ -6,7 +6,7 @@ name: Slow Tests Issue Body ...@@ -6,7 +6,7 @@ name: Slow Tests Issue Body
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: '0 */6 * * *' - cron: "0 */6 * * *"
permissions: permissions:
issues: write issues: write
...@@ -24,6 +24,7 @@ jobs: ...@@ -24,6 +24,7 @@ jobs:
with: with:
python-version: "3.11" python-version: "3.11"
- name: Trigger the script - name: Trigger the script
continue-on-error: true
working-directory: scripts/slowest_tests working-directory: scripts/slowest_tests
shell: zsh {0} shell: zsh {0}
run: source update-slowest-times-issue.sh run: source update-slowest-times-issue.sh
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论