File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 6
6
- opened
7
7
- labeled
8
8
- unlabeled
9
+ - synchronize
9
10
branches :
10
11
- main
11
12
12
13
jobs :
13
14
check_labels :
14
- runs-on : ubuntu-latest
15
- steps :
16
- - name : ' Required "doc required" or "doc not required" label'
17
- if : >
18
- contains(github.event.pull_request.labels.*.name, 'doc required') == false &&
19
- contains(github.event.pull_request.labels.*.name, 'doc not required') == false
20
- uses : actions/github-script@v7
21
- with :
22
- script : |
23
- github.rest.issues.createComment({
24
- issue_number: context.issue.number,
25
- owner: context.repo.owner,
26
- repo: context.repo.repo,
27
- body: 'Make sure to add the "doc required" or "doc not required" label. '
28
- })
29
- core.setFailed('Required "doc required" or "doc not required" label')
30
-
31
-
32
-
33
-
15
+ uses : NordicSemiconductor/pc-nrfconnect-shared/.github/workflows/labels.yml@main
16
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments