forked from MajorScruffy/delete-old-workflow-runs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (37 loc) · 1.36 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
37
name: Delete old workflow runs - new version
description: Delete workflow runs that match the given filters
inputs:
repository:
description: The repository for which to delete workflow runs.
required: true
workflow:
description: The path to the workflow's .yml file.
required: false
older-than-seconds:
description: Consider only the workflows older than the given number of seconds.
required: false
created-before:
description: Consider only the workflows created before this date for deletion.
required: false
actor:
description: Returns someone's workflow runs. Use the login for the user who created the push associated with the check suite or workflow run.
required: false
branch:
description: Returns workflow runs associated with a branch. Use the name of the branch of the push.
required: false
event:
description: Returns workflow run triggered by the event you specify. For example, push, pull_request or issue.
required: false
status:
description: Returns workflow runs with the given status. Can be one of queued, in_progress, or completed.
required: false
what-if:
description: Set to true to preview the changes made by this action without deleting any workflow runs.
required: false
default: false
runs:
using: node20
main: "dist/index.js"
branding:
icon: "archive"
color: "blue"