Skip to content

Commit d2122bc

Browse files
committed
ci: fix signed-off-by checks in master
Only check signed commits for PRs. Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
1 parent 9723b52 commit d2122bc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/mynewt.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
free
2222
pwd
2323
- name: Signed commit check
24+
if: ${{ github.event_name == 'pull_request' }}
2425
run: |
2526
./ci/check-signed-off-by.sh
2627
- name: Mynewt install

.github/workflows/sim.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
free
4242
pwd
4343
- name: Signed commit check
44+
if: ${{ github.event_name == 'pull_request' }}
4445
run: |
4546
./ci/check-signed-off-by.sh
4647
- name: Install stable Rust

0 commit comments

Comments
 (0)