forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
118 lines (116 loc) · 4.42 KB
/
triage.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: Triage tasks
on: pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: Check commit format
uses: Homebrew/actions/check-commit-format@master
with:
token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
- name: Cancel previous runs
uses: Homebrew/actions/cancel-previous-runs@master
if: always()
with:
token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
- name: Label pull request
uses: Homebrew/actions/label-pull-requests@master
if: always()
with:
token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
def: |
[
{
"label": "new formula",
"status": "added",
"path": "Formula/.+"
}, {
"label": "marked for removal/rejection",
"status": "removed",
"path": "Formula/.+"
}, {
"label": "bottle unneeded",
"path": "Formula/.+",
"content": "\n (bottle :unneeded|depends_on :linux)\n"
}, {
"label": "formula deprecated",
"path": "Formula/.+",
"content": "\n deprecate!.*\n"
}, {
"label": "formula disabled",
"path": "Formula/.+",
"content": "\n disable!.*\n"
}, {
"label": "legacy",
"path": "Formula/.+@.+",
"except": [
"Formula/[email protected]",
"Formula/[email protected]",
"Formula/[email protected]"
]
}, {
"label": "missing license",
"path": "Formula/.+",
"missing_content": "\n license .+\n"
}, {
"label": "deprecated license",
"path": "Formula/.+",
"content": "license .*\"(GPL|LGPL|AGPL|GFDL)-[0-9].[0-9][+]?\".*"
}, {
"label": "go",
"path": "Formula/.+",
"content": "depends_on \"go(?:@[0-9.]+)?\""
}, {
"label": "haskell",
"path": "Formula/.+",
"content": "depends_on \"(?:ghc@?|haskell-stack).+"
}, {
"label": "java",
"path": "Formula/.+",
"content": "depends_on \"?(?:java|openjdk@?).+"
}, {
"label": "linux-only",
"path": "Formula/.+",
"content": "depends_on :linux"
}, {
"label": "lua",
"path": "Formula/.+",
"content": "depends_on \"lua(?:@[0-9.]+|jit)?\""
}, {
"label": "nodejs",
"path": "Formula/.+",
"content": "depends_on \"node(?:@\\d+)?\""
}, {
"label": "ocaml",
"path": "Formula/.+",
"content": "depends_on \"ocaml\""
}, {
"label": "perl",
"path": "Formula/.+",
"content": "(?:depends_on|uses_from_macos) \"perl@?.+"
}, {
"label": "php",
"path": "Formula/.+",
"content": "(?:depends_on|uses_from_macos) \"php@?.+"
}, {
"label": "python",
"path": "Formula/.+",
"content": "(?:depends_on|uses_from_macos) \"python@?.+"
}, {
"label": "ruby",
"path": "Formula/.+",
"content": "(?:depends_on|uses_from_macos) \"ruby@?.+"
}, {
"label": "rust",
"path": "Formula/.+",
"content": "depends_on \"rust\""
}, {
"label": "swift",
"path": "Formula/.+",
"content": "system \"swift\", \"build\""
}, {
"label": "automerge-skip",
"path": "Formula/(patchelf|binutils).rb",
"keep_if_no_match": true
}
]