forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (40 loc) · 1.29 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
name: Triage tasks
on: pull_request_target
concurrency:
group: "triage-${{ github.event.number }}"
cancel-in-progress: true
permissions:
contents: read
jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: Check commit format
uses: Homebrew/actions/check-commit-format@master
with:
token: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}}
- name: Label pull request
uses: Homebrew/actions/label-pull-requests@master
if: always()
with:
token: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}}
def: |
- label: new cask
status: added
path: Casks/.+
- label: marked for removal/rejection
status: removed
path: Casks/.+
- label: documentation
path: (.*\.md|\.github/ISSUE_TEMPLATE/.*\.yml)
- label: bump-cask-pr
pr_body_content: Created with `brew bump-cask-pr`
- label: missing description
path: Casks/.+
missing_content: \n desc .+\n
- label: appcast migration needed
path: Casks/.+
content: \n appcast .+\n
- label: missing zap
path: Casks/.+
missing_content: zap .+\n