-
Notifications
You must be signed in to change notification settings - Fork 14
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: reusable_build: #18
Comments
That is intended as the comment suggest. Push events on openwrt main repo are on main branch and stable branch and we want to check every package. About the package/check not correctly fixing stuff, that is a bug i think ? probably FIXUP=1 is not propagated? |
maybe better to have two separate event handlers in the yaml - one for pushes to main, and one for PRs and their (force) pushes. Then the check and build is much quicker for those PRs where only a single package changed.
🤷 |
but push to pr (on our side) are pr event so the condition of checking all the package should not be triggered. |
Hmm - my action logs for single package changes show they check every package. |
@systemcrash can you link the action? Are you sure it's not run on your repository? |
The runs are in my repo - but that should not matter, or? |
It does as you push commits to a branch, push on your repository are not handled by openwrt runner but by your runner. Check here https://github.com/openwrt/openwrt/actions For push we have instead But here (my repository) (ignore the gravestone of failed actions ahahha) |
The Determine Changed Packages step correctly determines the only changed package. But the Download and check packages code in the first post checks everything. So something isn't right, or could be better. ( Irrespective of which repo or runner ) |
I think the
||
logic here is wrong. All packages are checked even if only a single package has changed in a (force) push. It would seem that any push event always triggersmake package/check
(if [ "${{ github.event_name }}" = "push" ]
)Also, if only checksums have changed in a Makefile, package/check FIXUP=1 seems to do nothing locally (to warrant a
git add blah; git commit --amend ; git push --force
).The text was updated successfully, but these errors were encountered: