forked from githubtraining/hellogitworld
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 948 Bytes
/
main.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
name: Check labels
run-name: "ddddd"
on:
pull_request_target:
branches:
- "master"
- "[0-9]+.[0-9]+.z"
- "[0-9]+.[0-9]+.[0-9]"
- "[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+-DEVEL-[0-9]+"
- "data-migration-5.3"
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
jobs:
check_labels:
name: Check for mandatory labels
runs-on: ubuntu-latest
steps:
- name: Test labels for 'Source:'
uses: docker://agilepathway/pull-request-label-checker:latest
with:
prefix_mode: true
one_of: "Source:"
repo_token: ${{ secrets.GH_TOKEN }}
- name: Test labels for 'Team:'
uses: docker://agilepathway/pull-request-label-checker:latest
with:
prefix_mode: true
one_of: "Team:"
repo_token: ${{ secrets.GH_TOKEN }}