-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
70 lines (70 loc) · 2.99 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: 'Auto-update PR & Notify Conflicts'
description: 'A GitHub Action to auto-update PRs based on criteria and handle merge conflicts'
inputs:
conflict-label:
description: 'Label to add to all PRs with merge conflicts'
required: false
default: ''
conflict-marks-as-draft:
description: 'Mark conflicted PRs as draft'
required: false
default: 'false'
conflict-requires-ready-state:
description: 'Only process conflicts on PRs that are in the specified state. Accepts "all", "draft", and "ready_for_review" (default)'
required: false
default: 'ready_for_review'
conflict-requires-labels:
description: 'Only process conflicts on PRs that have one of the specified labels (comma-separated list of labels)'
required: false
default: ''
conflict-excluded-labels:
description: 'Do not process conflicts on PRs that have one of the specified labels. Takes precedence over conflict-required-labels (comma-separated list of labels)'
required: false
default: ''
conflict-excluded-authors:
description: 'Do not process conflicts on PRs that were opened by the specified authors (comma-separated list of usernames. If the author is an app, it must be in the format "app/<login>")'
required: false
default: ''
update-pr-branches:
description: 'Automatically update PR branches with the latest changes from the target branch'
required: false
default: 'false'
update-requires-auto-merge:
description: 'Only update PRs that have auto-merge enabled'
required: false
default: 'false'
update-requires-ready-state:
description: 'Only update PRs that are in the specified state. Accepts "all", "draft", and "ready_for_review" (default)'
required: false
default: 'ready_for_review'
update-requires-labels:
description: 'Only update PRs that have one of the specified labels (comma-separated list of labels)'
required: false
default: ''
update-excluded-labels:
description: 'Do not update PRs that have one of the specified labels. Takes precedence over update-required-labels (comma-separated list of labels)'
required: false
default: ''
update-excluded-authors:
description: 'Do not update PRs that were opened by the specified authors (comma-separated list of usernames. If the author is an app, it must be in the format "app/<login>")'
required: false
default: ''
update-requires-source:
description: 'Only update PRs that are either forks or branches from the same repository. Accepts "all" (default), "forks", and "branch"'
required: false
default: 'all'
dry-run:
description: 'Do not perform any actions, only log what would be done'
required: false
default: 'false'
outputs:
updated-prs:
description: 'The list of PRs numbers that were updated (comma-separated list)'
conflicted-prs:
description: 'The list of PRs numbers that have merge conflicts (comma-separated list)'
runs:
using: 'node20'
main: 'lib/action.mjs'
branding:
color: 'purple'
icon: 'git-merge'