Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Commit ee447b2

Browse files
committed
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 d479a31 commit ee447b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: write
16+
timeout-minutes: 45
1617
steps:
1718
- uses: actions/checkout@v3
1819
- uses: dtolnay/rust-toolchain@nightly

0 commit comments

Comments
 (0)