forked from mschilde/auto-label-merge-conflicts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (29 loc) · 792 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
name: 'Auto-label merge conflicts'
description: 'Github Action to automatically label PRs with "conflict" label'
author: 'Marko Schilde'
branding:
icon: 'alert-octagon'
color: 'gray-dark'
inputs:
CONFLICT_LABEL_NAME:
description: 'label name used to marked PRs with merge conflicts'
required: true
GITHUB_TOKEN:
description: 'Github token / secret'
required: true
MAX_RETRIES:
description: 'number of times to retry on a failed mergable check'
required: false
default: 5
WAIT_MS:
description: 'miliseconds between retries'
required: false
default: 5000
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.CONFLICT_LABEL_NAME }}
- ${{ inputs.GITHUB_TOKEN }}
- ${{ inputs.MAX_RETRIES }}
- ${{ inputs.WAIT_MS }}