-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
35 lines (33 loc) · 934 Bytes
/
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
name: GitHub Actions Artifact Cleaner
author: Aidan Steele @ Glass Echidna
description: Automatically clean up old artifacts from your actions
branding:
icon: trash-2
color: red
inputs:
minimumDeletionSize:
description: >
Specify a minimum size of artifacts to delete in bytes. Artifacts smaller
than this won't be deleted.
required: false
default: "0"
name:
description: >
(Optional) Specify an artifact name to delete. All other artifacts will
be left alone - even if match other criteria,
required: false
minimumAge:
description: Only delete artifacts older than this, measured in seconds.
required: false
default: "0"
repository:
description: ""
required: false
default: ${{ github.repository }}
token:
description: ""
required: false
default: ${{ github.token }}
runs:
using: docker
image: docker://glassechidna/artifact-cleaner