CI: branch collision handling for translation templates updates#7128
CI: branch collision handling for translation templates updates#7128echoix merged 3 commits intoOSGeo:mainfrom
Conversation
echoix
left a comment
There was a problem hiding this comment.
Can you review the diff, and only changes the lines needed? You removed lots of comments, changed comments where not needed, in short, it’s hiding the real useful changes.
Add yourself in the loop, like we wrote in the contribution guidelines/ai policy, and come ping me back when it will be worth it :)
Your solution with the run_id is probably better than using the ref/base_ref (that was previously mentionnend), as it it less prone to injection, so a bit better on security.
Dasux
left a comment
There was a problem hiding this comment.
i reverted docker.yml
Dasux
left a comment
There was a problem hiding this comment.
- merged the latest
maininto the branch and resolved the conflicts... - restored the removed comments and cleaned up the workflow so the diff only reflects the intended changes.
|
Also, as a rule of thumb moving forward, how should PRs be titled? |
|
Take a look again at what I have to review, it doesn't seem humanly reviewed-reread |
Look at the other (merged) PRs, and the output of the failed workflow. It checks for some known categories, and shows the allowed ones. Read again https://github.com/OSGeo/grass/blob/main/CONTRIBUTING.md and also the part where it links to https://github.com/OSGeo/grass/blob/main/doc/development/github_guide.md#pr-title |
revert: reverted unintended changes to docker workflow
dfd9c84 to
c60f14a
Compare
|
Bad rebase |
|
Either you are rebasing with a main that is behind, like your fork’s main branch, you are not using upstream/main (assuming the remote for this upstream repo is called upstream in your local env). It’s easier when there’s no force pushes yet, but to get out of it, you need to check one of both and do another force-push (which I say again, is not pleasant when reviewing has started) |
|
very bad rebase..... i know... ill go back to the previous commit hash--- |
c60f14a to
61f843f
Compare
Dasux
left a comment
There was a problem hiding this comment.
hopefully now the diff shows only the intended changes ....
Thanks, now reviewing was almost limited to two chunks, so way easier! |
|
I removed the concurrency part... Also..
thank you for being patient and guiding me along the way |
|
You just need to resolve the review comments, some might be hidden somewhere because of the force-pushes |
This PR resolves the issuue #7115 ... related to the
update-i18njob in thePeriodic updateworkflow.Previously, the workflow used a static branch name:
This meant that every time the workflow ran, it reused the same branch to create or update a Pull Request. As a result, only one translation update PR could exist at a time. If the workflow was triggered again (either by schedule or manually) while a previous PR was still open, the same branch would be reused and the existing PR would be updated or overwritten.
What was changed
The branch name used by the
create-pull-requestaction has been updated to include a unique identifier:so this ensures that
Verification
The workflow was manually triggered manually on a fork repo, and the branches were different each time. Each run created a distinct branch and corresponding Pull Request, confirming that branch names no longer collide.
Note: