Skip to content

Commit

Permalink
Merge pull request #939 from NordicSemiconductor/add-label-checker-ac…
Browse files Browse the repository at this point in the history
…tion

All PRs require doc_* label
  • Loading branch information
aadnekar authored Jan 18, 2024
2 parents 09d7bbd + f57726d commit f10d43a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check labels

on:
pull_request:
branches:
- main

jobs:
check_labels:
runs-on: ubuntu-latest
steps:
- name: 'Required "doc_required" or "doc_not_required" label'
if: >
contains(github.event.pull_request.labels.*.name, 'doc required') == false &&
contains(github.event.pull_request.labels.*.name, 'doc not required') == false
run: exit 1




0 comments on commit f10d43a

Please sign in to comment.