-
Notifications
You must be signed in to change notification settings - Fork 5.8k
34 lines (33 loc) · 938 Bytes
/
label-checker.yml
File metadata and controls
34 lines (33 loc) · 938 Bytes
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
name: Label Checker
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
workflow_run:
workflows: [Keep PRs Updated from Main]
types:
- completed
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_stats_labels:
name: Check Stats labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: Application,MVP,Feature Scenario,Task,Bug,Basics,dependencies,Single action example
repo_token: ${{ secrets.GITHUB_TOKEN }}