You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@ name: "branch-deploy"
2
2
description: "Enabling Branch Deployments through IssueOps with GitHub Actions"
3
3
author: "Grant Birkinbine"
4
4
branding:
5
-
icon: 'git-branch'
6
-
color: 'gray-dark'
5
+
icon: "git-branch"
6
+
color: "gray-dark"
7
7
inputs:
8
8
github_token:
9
9
description: The GitHub token used to create an authenticated client - Provided for you by default!
@@ -74,7 +74,7 @@ inputs:
74
74
required: false
75
75
default: "false"
76
76
param_separator:
77
-
description: 'The separator to use for parsing parameters in comments in deployment requests. Parameters will are saved as outputs and can be used in subsequent steps'
77
+
description: "The separator to use for parsing parameters in comments in deployment requests. Parameters will are saved as outputs and can be used in subsequent steps"
78
78
required: false
79
79
default: "|"
80
80
global_lock_flag:
@@ -201,6 +201,10 @@ inputs:
201
201
description: 'The number of seconds to wait for a deployment confirmation before timing out. Default is "60" seconds (1 minute).'
202
202
required: false
203
203
default: "60"
204
+
deployment_task:
205
+
description: 'Task identifier for the deployment (enables concurrent deployments to same environment). When specified, multiple deployments can be active simultaneously for the same environment as long as they have different task values. Example: "frontend", "backend", "api"'
206
+
required: false
207
+
default: ""
204
208
outputs:
205
209
continue:
206
210
description: 'The string "true" if the deployment should continue, otherwise empty - Use this to conditionally control if your deployment should proceed or not'
@@ -235,11 +239,11 @@ outputs:
235
239
fork:
236
240
description: 'The string "true" if the pull request is a fork, otherwise "false"'
237
241
fork_ref:
238
-
description: 'The true ref of the fork'
242
+
description: "The true ref of the fork"
239
243
fork_label:
240
-
description: 'The API label field returned for the fork'
244
+
description: "The API label field returned for the fork"
241
245
fork_checkout:
242
-
description: 'The console command presented in the GitHub UI to checkout a given fork locally'
246
+
description: "The console command presented in the GitHub UI to checkout a given fork locally"
243
247
fork_full_name:
244
248
description: 'The full name of the fork in "org/repo" format'
245
249
deployment_id:
@@ -261,23 +265,25 @@ outputs:
261
265
sha_deployment:
262
266
description: 'If "allow_sha_deployments" is enabled, and a sha deployment is performed instead of a branch deployment, this output variable will contain the sha that was deployed. Otherwise, this output variable will be empty'
263
267
review_decision:
264
-
description: 'The pull request review status. Can be one of a few values - examples: APPROVED, REVIEW_REQUIRED, CHANGES_REQUESTED, skip_reviews,, null'
268
+
description: "The pull request review status. Can be one of a few values - examples: APPROVED, REVIEW_REQUIRED, CHANGES_REQUESTED, skip_reviews,, null"
265
269
is_outdated:
266
270
description: 'The string "true" if the branch is outdated, otherwise "false"'
267
271
merge_state_status:
268
272
description: 'The status of the merge state. Can be one of a few values - examples: "DIRTY", "DRAFT", "CLEAN", etc'
269
273
commit_status:
270
274
description: 'The status of the commit. Can be one of a few values - examples: "SUCCESS", null, "skip_ci", "PENDING", "FAILURE" etc'
271
275
approved_reviews_count:
272
-
description: 'The number of approved reviews on the pull request'
276
+
description: "The number of approved reviews on the pull request"
273
277
needs_to_be_deployed:
274
278
description: 'A comma separated list of environments that need successful and active deployments before the current environment (that was requested) can be deployed. This output is tied to the "enforced_deployment_order" input option.'
275
279
commit_verified:
276
280
description: 'The string "true" if the commit has a verified signature, otherwise "false"'
277
281
total_seconds:
278
-
description: 'The total number of seconds that the deployment took to complete (Integer)'
282
+
description: "The total number of seconds that the deployment took to complete (Integer)"
279
283
non_default_target_branch_used:
280
284
description: 'The string "true" if the pull request is targeting a branch other than the default branch (aka stable branch) for the merge, otherwise unset'
285
+
deployment_task:
286
+
description: "The task identifier used for the deployment, enabling concurrent deployments to the same environment"
0 commit comments