Skip to content

Commit eadecba

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525

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

3031
twister-build:
3132
runs-on:
3233
group: zephyr-runner-v2-linux-x64-4xlarge
3334
needs: twister-build-prep
34-
if: needs.twister-build-prep.outputs.size != 0
35+
if: needs.twister-build-prep.outputs.size != 0 || always()
3536
container:
3637
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
3738
options: '--entrypoint /bin/bash'

0 commit comments

Comments
 (0)