Use jobs.<job_id>.steps[*].timeout-minutes to set the maximum number of minutes to run a step before ending the process.