ci: change default actions timeout from 6h to 30m #4508
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
while working on #4404 i noticed that default timeout for github actions is set to 6h, in case of issues in webpack like here: https://github.com/facebook/docusaurus/runs/2181853194?check_suite_focus=true we can run into cases when job is never going to be finished.
default value is set to 360min (6h) and this change reduces it to 30min (no job for now is executed for longer than 12min on linux and 20min on windows)
ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
Have you read the Contributing Guidelines on pull requests?
yes