-
Notifications
You must be signed in to change notification settings - Fork 5.7k
41 lines (39 loc) · 1.06 KB
/
label-checker.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
---
name: Label Checker
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
jobs:
check_oncall_labels:
name: Check On Call Review labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
all_of: On Call Review complete
none_of: On Call Review needed
repo_token: ${{ secrets.GITHUB_TOKEN }}
check_text_labels:
name: Check Text labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: Text Review complete,Text Review not needed
none_of: Text Review needed
repo_token: ${{ secrets.GITHUB_TOKEN }}
check_stats_labels:
name: Check Stats labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: Application,MVP,Workflow,Task
repo_token: ${{ secrets.GITHUB_TOKEN }}