6262 description : Runner type
6363 default : ubuntu-latest
6464 type : string
65+ timeoutMinutes :
66+ required : false
67+ description : Maximum minutes before the job is cancelled
68+ default : 40
69+ type : number
6570 sentryOrg :
6671 required : false
6772 description : The Sentry organization that will hold the deployment
@@ -163,6 +168,7 @@ jobs:
163168 initialize :
164169 environment : ${{ github.event.deployment.payload.env || inputs.env }}
165170 runs-on : ${{ inputs.runner }}
171+ timeout-minutes : ${{ inputs.timeoutMinutes }}
166172 outputs :
167173 channel-id : ${{ steps.vars.outputs.channel-id }}
168174 version : ${{ steps.vars.outputs.version }}
@@ -219,6 +225,7 @@ jobs:
219225 preScript : ${{ inputs.preScript }}
220226 enableContainerScan : ${{ inputs.enableContainerScan }}
221227 runner : ${{ inputs.runner }}
228+ timeoutMinutes : ${{ inputs.timeoutMinutes }}
222229 version : ${{ needs.initialize.outputs.version }}
223230 appName : ${{ github.event.deployment.payload.name || inputs.appName }}
224231 env : ${{ github.event.deployment.payload.env || inputs.env }}
@@ -233,6 +240,7 @@ jobs:
233240 environment : ${{ github.event.deployment.payload.env || inputs.env }}
234241 concurrency : commit-${{ inputs.deploymentRepoURL }}-${{ github.sha }}
235242 runs-on : ${{ inputs.runner }}
243+ timeout-minutes : ${{ inputs.timeoutMinutes }}
236244 steps :
237245 - name : Checkout ${{ inputs.deploymentRepoURL }} git repository
238246 uses : actions/checkout@v6
0 commit comments