ci: fix signed-off-by checks in master

Only check signed commits for PRs.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
This commit is contained in:
Fabio Utzig 2020-11-12 13:41:57 -03:00 committed by Fabio Utzig
parent 9723b52a80
commit d2122bccc5
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ jobs:
free
pwd
- name: Signed commit check
if: ${{ github.event_name == 'pull_request' }}
run: |
./ci/check-signed-off-by.sh
- name: Mynewt install

View File

@ -41,6 +41,7 @@ jobs:
free
pwd
- name: Signed commit check
if: ${{ github.event_name == 'pull_request' }}
run: |
./ci/check-signed-off-by.sh
- name: Install stable Rust