Skip to content

Commit f0fb162

Browse files
committed
compliance on pr only
Signed-off-by: Anas Nashif <[email protected]>
1 parent 5ddcf31 commit f0fb162

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/compliance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
check_compliance:
8+
if: github.event_name == 'pull_request'
89
runs-on: ubuntu-22.04
910
name: Run compliance checks on patch series (PR)
1011
steps:

.github/workflows/twister.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: ./.github/workflows/compliance.yml
2525

2626
twister-build-prep:
27+
if: always()
2728
needs: compliance-check
2829
uses: ./.github/workflows/twister-prep.yaml
2930

0 commit comments

Comments
 (0)