semantic-conventions
semantic-conventions copied to clipboard
Autofix pr's with autofix label
One of the pain points which comes from having the weaver generated markdown checked in to the repo is that the chance of merge conflicts is higher than normal. This could lead to the need to be rebasing/updating the branch many times during the life-cycle of a pr. What I would propose is if a merge-queue pr fails, the pr is labeled "to-rebase".
If a pr is either manually by a maintainer or automatically labelled with the "to-rebase" label, the cicd pipeline should attempt to update the pr. This updating would involve the following:
- Rebasing pr onto target branch if no conflicts otherwise stop and potentially comment on the pr.
- Regenerating of the documentation using latest models
- Committing fixes to hopefully resolve build.
- Removal of the "to-rebase" label
Note We could use a github action such as https://autofix.ci/setup to help with achieving this.
I feel that this would help improve our velocity and reduce back and fourth required as maintainers can trigger the rebase without needing to ask the author to do it.