Commit 0862ab0
authored
Require pre-commit for inferred backports (#7355)
# Description
Require inference-resolved release backports to pass the repository
pre-commit suite before the workflow can commit the resolution or open a
draft PR. The resolver prompt now calls out the pre-commit requirement.
If hooks make automatic fixes, the workflow stages only paths from the
original source PR, revalidates the candidate scope, and runs pre-commit
again. Any remaining failure stops the backport without creating a PR.
## Type of change
- Bug fix (non-breaking change which fixes an issue)
## Release backport
- [ ] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`
Not applicable for this default-branch PR; a matching `develop` PR
carries the change to the active release branch.
## Validation
- `uv run isaaclab -f`
- Parsed the workflow YAML
- Checked the embedded pre-commit shell block with `bash -n`
## Checklist
- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] My changes generate no new warnings
- [x] No documentation, unit-test, or package changelog change is
required for this workflow-only fix
- [x] My name already exists in `CONTRIBUTORS.md`1 parent b25387f commit 0862ab0
2 files changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
248 | 282 | | |
249 | 283 | | |
250 | 284 | | |
| |||
0 commit comments