actions: compliance: minor improvements

Namespace job names and retry west update if something goes wrong the
first time.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-11-13 17:53:37 -05:00 committed by Maureen Helm
commit e50cbdb9f8

View file

@ -1,4 +1,4 @@
name: Compliance name: Compliance Checks
on: pull_request on: pull_request
@ -19,7 +19,7 @@ jobs:
run: | run: |
python3 ./scripts/get_maintainer.py path CMakeLists.txt python3 ./scripts/get_maintainer.py path CMakeLists.txt
compliance_job: check_compliance:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Run compliance checks on patch series (PR) name: Run compliance checks on patch series (PR)
steps: steps:
@ -57,7 +57,7 @@ jobs:
# debug # debug
git log --pretty=oneline | head -n 10 git log --pretty=oneline | head -n 10
west init -l . || true west init -l . || true
west update west update 2>&1 1> west.update.log
- name: Run Compliance Tests - name: Run Compliance Tests
continue-on-error: true continue-on-error: true