| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…t repository branches
|
With these changes branches in your repo will no longer trigger CI builds if you were leveraging that. It is possible there is a different approach but I didn't find any. I was thinking about checking if the PR branch is the same as the push branch and then dropping the push invocation but I am not sure if that is actually possible. |
Sorry, something went wrong.
|
@firewave Related question.. |
Sorry, something went wrong.
I don't think we need to pay for speed - it would mainly help with the build times but those aren't our bottleneck (ccache helped a lot there), it's a lot of other things. The CI is considerably fast - a PR can be filed, reviewed and merged within 30 minutes. There's several jobs we can shed and things still to speed up:
MinGW (#4400), Cygwin and clang-tidy are the big outliers. I will try to file tickets about those. |
Sorry, something went wrong.
|
Thanks. This might just be temporarily. I will monitor it and check if things are actually working as expected. I will also do some tests over the next days and try to find a more targeted approach. But give it a few days as I am still not well and will be out a bit over the weekend. |
Sorry, something went wrong.
|
Starting around this time frame, actions are no longer triggered if I push changes to a branch of my fork. Is anyone else seeing that? |
Sorry, something went wrong.
Yes, that is what this does. I was fearing people were using that in their forks (I don't)... I was looking for a more targeted solution but it does not seems possible. I am quite baffled by that as this behavior would render repos with very long-running CI jobs totally unusable (not to speak about the extra costs we would encounter if you would pay for the runners). |
Sorry, something went wrong.
|
Is it possible to trigger the actions manually? Or do I need to create a PR just to see if the CI passes? |
Sorry, something went wrong.
Only individually (also a thing I don't understand - which is a pain if you want to test things manually or need to cancel them) and if they are configured to (workflow_dispatch). The only way is to revert the change. That would be fine with me. I made this change because if someone works on the main repo or files a PR from there the CI is basically clogged up for hours because each individual push as well as the pull request itself will trigger the workflows. Which is very disruptive to say the least but no one's fault. I was looking into a different approach which would detect in the push that it is a pull request but I am very doubtful that will actually work at all. |
Sorry, something went wrong.
|
How do I trigger an action for a specific branch of mine? |
Sorry, something went wrong.
|
My fork is up to date, but still no actions after the revert: https://github.com/chrchr-github/cppcheck/actions |
Sorry, something went wrong.
|
This was only reverted in the 2.12.x branch and not in main. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This will prevent duplicated workflows from being invoked for pushes into pull requests made from branches in the root (danmar) repository branches.