forked from philips-labs/action-delete-artifacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (30 loc) · 863 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
name: Delete workflow artifact
description: Delete an artifact associated with given workflow and commit
author: dawidd6, Brend-Smits
branding:
icon: delete
color: gray-dark
inputs:
github_token:
description: GitHub token
required: false
default: ${{github.token}}
workflow:
description: Workflow name
required: true
workflow_conclusion:
description: |
Wanted status or conclusion to search for in recent runs
https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#list-workflow-runs
required: false
default: success
repo:
description: Repository name with owner (like actions/checkout)
required: false
default: ${{github.repository}}
name:
description: Artifact name (delete all artifacts in not specified)
required: false
runs:
using: node12
main: dist/index.js