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 <anas.nashif@intel.com>
This commit is contained in:
parent
5fad40e7d3
commit
0f9533e3d5
1 changed files with 16 additions and 0 deletions
16
.github/workflows/compliance.yml
vendored
16
.github/workflows/compliance.yml
vendored
|
@ -3,6 +3,22 @@ name: Compliance
|
|||
on: pull_request
|
||||
|
||||
jobs:
|
||||
maintainer_check:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check MAINTAINERS file
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
fetch-depth: 0
|
||||
- name: Run Maintainers Script
|
||||
id: maintainer
|
||||
env:
|
||||
BASE_REF: ${{ github.base_ref }}
|
||||
run: |
|
||||
python3 ./scripts/get_maintainer.py path CMakeLists.txt
|
||||
|
||||
compliance_job:
|
||||
runs-on: ubuntu-latest
|
||||
name: Run compliance checks on patch series (PR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue