Skip to content

Commit 033a707

Browse files
authored
chore: set TIMEOUT_MINUTES default 20 minutes (#728)
1 parent 9af2899 commit 033a707

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release-image-self-hosted.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ on:
8888
type: boolean
8989
required: false
9090
default: false
91+
TIMEOUT_MINUTES:
92+
description: "The timeout minutes of workflow"
93+
type: number
94+
required: false
95+
default: 20
9196

9297
env:
9398
DOCKER_REGISTRY_URL: docker.io
@@ -105,6 +110,7 @@ jobs:
105110
contents: 'read'
106111
id-token: 'write'
107112
runs-on: [ self-hosted ]
113+
timeout-minutes: ${{ inputs.TIMEOUT_MINUTES }}
108114
outputs:
109115
tag-name: ${{ steps.get_tag_name.outputs.tag-name }}
110116
steps:

.github/workflows/release-image-sync-self-hosted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ on:
142142
description: "The timeout minutes of workflow"
143143
type: number
144144
required: false
145-
default: 360
145+
default: 20
146146

147147

148148
env:

.github/workflows/release-image-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ on:
132132
description: "The timeout minutes of workflow"
133133
type: number
134134
required: false
135-
default: 360
135+
default: 20
136136

137137

138138
env:

0 commit comments

Comments
 (0)