Skip to content

Commit 98d7495

Browse files
committed
simplify
1 parent 5c04ef4 commit 98d7495

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/compliance.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,7 @@ on:
44
workflow_call:
55

66
jobs:
7-
check_compliance_push:
8-
if: github.event_name == 'push'
9-
runs-on: ubuntu-22.04
10-
name: Run compliance checks on patch series (PR)
11-
steps:
12-
- name: Do nothing
13-
run: |
14-
echo "Doing nothing"
15-
167
check_compliance:
17-
if: github.event_name == 'pull_request'
188
runs-on: ubuntu-22.04
199
name: Run compliance checks on patch series (PR)
2010
steps:

.github/workflows/twister.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525

2626
twister-build-prep:
2727
needs: compliance-check
28+
if: |
29+
always() && (needs.compliance-check.result == 'success' || needs.compliance-check.result == 'skipped')
2830
uses: ./.github/workflows/twister-prep.yaml
2931

3032
twister-build:

0 commit comments

Comments
 (0)