github-actionsgithub-actions-self-hosted-runners

Github actions self-hosted runner - The job running has exceeded the maximum execution time of 360 minutes


I'm running a DAST scanner via github actions and it has failed due to timeout because the job took longer than 6 hours. Reading through the documentation I see the limit should not be applied to self hosted runners, and there is no entry for job execution timeout in the self-hosted runner limitations. Is there a way to disable the 360 minute timeout for job execution?


Solution

  • Under job: add timeout-minutes: NUMBER