Commit 0f9533e3 authored by Anas Nashif's avatar Anas Nashif
Browse files

actions: run get_maintainer.py to validate paths



Run script which would error on any missing paths or invalid syntax.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 5fad40e7
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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)