-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (33 loc) · 1.02 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'Delete Deployment Environments'
description: 'Delete entire environments and deployments for the branch the action is running on'
author: "Aetherinox"
branding:
icon: briefcase
color: gray-dark
inputs:
token:
description: GitHub access token
required: true
environment:
description: Environment to be deleted
required: true
delay:
description: Set delay per call
required: false
default: "500"
limit:
description: Limit number of results
required: false
default: "100"
ref:
description: The `head_ref` or source branch name of the deployment to delete
required: false
onlyRemoveDeployments:
description: Only remove deployments, keep the environment. Defaults to false
required: false
onlyDeactivateDeployments:
description: Only inactive deployments, keep the environment and deployments. Defaults to false
required: false
runs:
using: node20
main: 'dist/index.js'