Skip to content

Commit 5ddcf31

Browse files
committed
convert compliance to workflow_call
Signed-off-by: Anas Nashif <[email protected]>
1 parent 7fc61eb commit 5ddcf31

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/compliance.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: Compliance Checks
22

33
on:
4-
pull_request:
5-
types:
6-
- edited
7-
- opened
8-
- reopened
9-
- synchronize
4+
workflow_call:
105

116
jobs:
127
check_compliance:

.github/workflows/twister.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ concurrency:
2020
cancel-in-progress: true
2121

2222
jobs:
23+
compliance-check:
24+
uses: ./.github/workflows/compliance.yml
25+
2326
twister-build-prep:
27+
needs: compliance-check
2428
uses: ./.github/workflows/twister-prep.yaml
2529

2630
twister-build:

0 commit comments

Comments
 (0)