Skip to content

Commit 0f9943d

Browse files
joe4devclaude
andcommitted
Add timeout to RC release workflow
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0f48396 commit 0f9943d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/rc-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
rc-release:
2626
if: github.event.action == 'labeled' && github.event.label.name == 'trigger:rc-release'
2727
runs-on: ubuntu-latest
28+
# Builds typically finish in ~3 min; cap well above that to fail fast on a hang.
29+
timeout-minutes: 10
2830
env:
2931
GH_TOKEN: ${{ github.token }}
3032
PR_NUMBER: ${{ github.event.pull_request.number }}
@@ -87,6 +89,8 @@ jobs:
8789
cleanup:
8890
if: github.event.action == 'closed'
8991
runs-on: ubuntu-latest
92+
# Just a few gh API calls; should complete in seconds.
93+
timeout-minutes: 5
9094
env:
9195
GH_TOKEN: ${{ github.token }}
9296
PR_NUMBER: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)