Skip to content

Commit e30def5

Browse files
committed
fix: bound release auto-refactor
1 parent 05259dc commit e30def5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ jobs:
346346
gate-refactor:
347347
name: Auto-refactor
348348
continue-on-error: true
349+
timeout-minutes: 35
349350
needs:
350351
- check
351352
- gate-build
@@ -399,6 +400,7 @@ jobs:
399400
autofix: 'true'
400401
autofix-mode: always
401402
autofix-open-pr: 'true'
403+
execution-timeout-seconds: '1800'
402404
app-token: ${{ steps.app-token.outputs.token }}
403405

404406
release-quality-policy:

tests/release_workflow_test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ fn release_refactor_gate_enables_non_pr_repair_path() {
3838
assert!(gate_refactor.contains("Only release-blocking commands are repaired"));
3939
assert!(gate_refactor.contains("autofix-open-pr: 'true'"));
4040
assert!(gate_refactor.contains("continue-on-error: true"));
41+
assert!(gate_refactor.contains("timeout-minutes: 35"));
42+
assert!(gate_refactor.contains("execution-timeout-seconds: '1800'"));
4143
}
4244

4345
#[test]

0 commit comments

Comments
 (0)