Skip to content

Commit 0f9533e

Browse files
committed
actions: run get_maintainer.py to validate paths
Run script which would error on any missing paths or invalid syntax. Signed-off-by: Anas Nashif <[email protected]>
1 parent 5fad40e commit 0f9533e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/compliance.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ name: Compliance
33
on: pull_request
44

55
jobs:
6+
maintainer_check:
7+
runs-on: ubuntu-latest
8+
name: Check MAINTAINERS file
9+
steps:
10+
- name: Checkout the code
11+
uses: actions/checkout@v2
12+
with:
13+
ref: ${{ github.event.pull_request.head.sha }}
14+
fetch-depth: 0
15+
- name: Run Maintainers Script
16+
id: maintainer
17+
env:
18+
BASE_REF: ${{ github.base_ref }}
19+
run: |
20+
python3 ./scripts/get_maintainer.py path CMakeLists.txt
21+
622
compliance_job:
723
runs-on: ubuntu-latest
824
name: Run compliance checks on patch series (PR)

0 commit comments

Comments
 (0)