-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yaml
42 lines (34 loc) · 1.1 KB
/
action.yaml
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
37
38
39
40
41
42
name: Remove previous app versions
author: reviewable
description: |-
Remove all versions of the app beyond the set limit.
inputs:
project_id:
description: The GCP project ID. Overrides project ID set by credentials.
required: false
limit:
description: A number to set the total allowed deployed versions of your app.
required: true
apply_limit_after_days:
description: |-
Versions newer than this number of days before today will not be deleted.
Older versions will be subject to the limit value.
required: false
credentials:
description: |-
Service account key to use for authentication. This should be the JSON
formatted private key which can be exported from the Cloud Console. The
value can be raw or base64-encoded.
required: false
service_name:
description: |-
The name of the service you want to target with the action.
required: false
output:
versions_deleted:
description: Version numbers that were deleted.
total_deleted:
description: Number of versions deleted.
runs:
using: node20
main: dist/index.js