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: README.md
+28-6Lines changed: 28 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,9 @@ This action inactivates GitHub Deployments and Deployment Statuses through [GitH
21
21
|`workflow-actor`| true | The GitHub user who triggered the workflow |
22
22
|`token`| true | A token with `repo_deployment` permissions to create and update issues, workflows using this action should be granted `permissions` of `deployments: write`|
23
23
|`environment`| true | The environment the release was deployed to, i.e. [Dev\|QA\|Stage\|Demo\|UAT\|Prod]|
24
-
|`entity`| true | The entity that is deployed, i.e. "proj-app", "proj-infrastruction" or "proj-db" |
25
-
|`instance`| true | A freeform identifier to distinguish separately deployed instances of the entity in the same environment. Typical uses would be to name a slot and/or region, e.g "NA26", "NA26-slot1", "NA27-blue" |
24
+
|`entity`| false | Required if entities are null. The entity that is deployed, i.e. "proj-app", "proj-infrastruction" or "proj-db" |
25
+
|`instance`| false | Required if entities are null. A freeform identifier to distinguish separately deployed instances of the entity in the same environment. Typical uses would be to name a slot and/or region, e.g "NA26", "NA26-slot1", "NA27-blue" |
26
+
|`entities`| false | Required if entity and instance are null. JSON array of entity/instance objects to inactivate for an environment. Object has properties of entity, and instance. Example: `[{'entity':'proj-app','instance':'NA26'},{'entity':'proj-infrastructure','instance':'NA26'}]`|
Copy file name to clipboardExpand all lines: action.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,13 @@ inputs:
13
13
required: true
14
14
entity:
15
15
description: The entity that is deployed, i.e. "proj-app", "proj-infrastruction" or "proj-db"
16
-
required: true
16
+
required: false
17
17
instance:
18
18
description: A freeform identifier to distinguish separately deployed instances of the entity in the same environment. Typical uses would be to name a slot and/or region, e.g "NA26", "NA26-slot1", "NA27-blue", "Primary", "Secondary", etc.
19
-
required: true
20
-
19
+
required: false
20
+
entities:
21
+
description: "JSON array of entity/instance objects to inactivate for an environment. Object has properties of entity, and instance. Example: [{'entity':'proj-app','instance':'NA26'},{'entity':'proj-infrastructure','instance':'NA26'}]"
0 commit comments