Skip to content

Commit e645b0c

Browse files
committedNov 26, 2022
Time out workflows after 45 minutes
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions jobs have started randomly stalling for that long, which is inconvenient because it ties up a chunk of my runner quota. It apepars to be very rare for a job to recover after stalling. It's better to time out quicker and retry on a different runner.
1 parent 55c7845 commit e645b0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- name: Windows
4545
os: windows
4646
rust: stable minus 8 releases
47+
timeout-minutes: 45
4748
steps:
4849
- uses: actions/checkout@v3
4950
- uses: ./

0 commit comments

Comments
 (0)
Please sign in to comment.