Skip to content

Commit

Permalink
convert compliance to workflow_call
Browse files Browse the repository at this point in the history
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Nov 30, 2024
1 parent b2086d1 commit aae4683
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Compliance Checks

on:
pull_request:
types:
- edited
- opened
- reopened
- synchronize
workflow_call:

jobs:
check_compliance:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ concurrency:
cancel-in-progress: true

jobs:
compliance-check:
uses: ./.github/workflows/compliance.yml

twister-build-prep:
needs: compliance-check
uses: ./.github/workflows/twister-prep.yaml

twister-build:
Expand Down

0 comments on commit aae4683

Please sign in to comment.