Set default Timeout on Github action pipeline
Solution 1:
You can change default time limit in two ways
-
job.<id>.timeout-minutes
sets a timeout for a whole job -
job.<id>.steps.timeout-minutes
sets a timeout for a single step
Your scenario:
my-job:
runs-on: ubuntu-latest
timeout-minutes: 30