What does `timeout-minutes` and `continue-on-error` do?
BeginnerConceptGitHub Actions
Answer
timeout-minutes cancels a job (or step) that runs too long; the default for jobs is 360 minutes, so set a realistic value. continue-on-error: true lets the workflow carry on even if that job or step fails, used for experimental matrix entries or non-blocking checks.
jobs:
test:
timeout-minutes: 15
continue-on-error: ${{ matrix.experimental }}
More on GitHub Actions
What are workflows, jobs, steps and actions in GitHub Actions?BeginnerWhat events can trigger a workflow?BeginnerWhat is the difference between `pull_request` and `pull_request_target`?AdvancedWhat is a runner, and how do GitHub-hosted and self-hosted runners differ?BeginnerHow do you pass data between steps and between jobs?IntermediateHow does a build matrix work?Intermediate