-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
23 lines (22 loc) · 828 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
name: 'Add an attention label to an open pull request'
description: 'Add need-review attention label to an open pull request after 4 days'
author: 'Manish Rathi'
inputs:
GITHUB_TOKEN:
description: 'The GITHUB_TOKEN secret'
ADD_LABEL:
description: 'The attention label name to add'
AFTER_DAYS:
description: 'The number of days from pull request creation date.'
default: 3
SKIP_LABELS:
description: 'The comma separated labels string. If an open pull-request has one of those label then this action will skip adding the attention label.'
default: 'work-in-progress,wip'
REMOVE_LABEL:
description: 'Remove the previous dependent label'
SKIP_DRAFTS:
description: 'Wheter to skip draft PRs or not. Defaults to include them'
default: true
runs:
using: 'docker'
image: 'Dockerfile'