-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: move twister to be pull_request base, integrate compliance #82457
base: main
Are you sure you want to change the base?
Conversation
nashif
commented
Dec 3, 2024
- ci: twister: convert to pull_request
- ci: compliance: convert compliance to workflow_call
yes, the compliance workflow is gone now, the status of the twister workflow (we probably need to rename this to something else now) will be used for PRs, so we need to remove this from GH settings. |
Oh so it's not going to show as its own workflow anymore, but then it's not going to retrigger on PR message edits right? |
@@ -1,15 +1,20 @@ | |||
name: Compliance Checks | |||
|
|||
on: | |||
pull_request: | |||
types: | |||
- edited |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is going to break the "empty PR message" below, the check would fail and only rerun on push. It should probably be moved on a separate workflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i know and I am aware of that. I am thinking of moving this type of checks to somewhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fabiobaltieri should be "fixed" now
new comment about the empty message check
Convert twister workflow to use pull_request. Signed-off-by: Anas Nashif <[email protected]>
Add compliance to twister workflow as a the first step. If compliance fials, no twister will run. Signed-off-by: Anas Nashif <[email protected]>
8662b28
to
47f152c
Compare
Move PR body check to a workflow that monitors editing of PRs. Avoids rerunnin compliance check and other heavy weights workflows on just an edit of the PR body. Signed-off-by: Anas Nashif <[email protected]>
Add more functionality to the workflow, it is not only about not-merging anymore. Signed-off-by: Anas Nashif <[email protected]>
47f152c
to
f01751e
Compare
huh, it actually works here in the same PR, I did not expect that. Nice https://github.com/zephyrproject-rtos/zephyr/actions/runs/12149516128/job/33880348191?pr=82457 |