forked from dawidd6/action-delete-branch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
39 lines (39 loc) · 1.21 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
38
39
name: Delete multiple branches by ThongTD
description: Delete multiple branches from repository
author: dawidd6
branding:
icon: git-branch
color: red
inputs:
github_token:
description: GitHub token
required: false
default: ${{github.token}}
owner:
description: Owner of the repository. The owner will be deducted from env vars if it is not set
required: false
repository:
description: The repository containing the branch(es) to be deleted. The repository name will be deducted from env vars if it is not set
required: false
branches:
description: Branches to delete (comma separated)
required: false
numbers:
description: PR numbers whose head branches should be deleted (comma separated)
required: false
prefix:
description: Additional prefix to append to every branch name
required: false
suffix:
description: Additional suffix to append to every branch name
required: false
exclude:
description: Additional exclude to append to every branch name
required: false
soft_fail:
description: If set to `true` the workflow will continue if a branch reference is not found
required: false
default: false
runs:
using: node12
main: main.js