Skip to content

Commit 210c603

Browse files
committed
feat(agents): read supported branches dynamically from SECURITY.md
1 parent 2136232 commit 210c603

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/agents/bug-fixing-orchestrator-agent.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,15 @@ Report what was done and any remaining items.
210210

211211
## Multi-branch Fixes
212212

213+
Only create PRs for **supported versions**. Before acting, read [SECURITY.md](../../SECURITY.md) to get the current list of supported versions. Do **not** create PRs for any version marked as unsupported there.
214+
213215
When a bug exists in multiple supported release branches:
214-
1. Target the fix at the **oldest affected branch** first.
215-
2. Cherry-pick the commit to each newer branch up to and including `master`.
216-
3. Create separate PRs for each cherry-pick.
217-
4. Note all target branches in the original PR description.
216+
1. Read `SECURITY.md` and collect all versions currently marked as supported.
217+
2. Determine which of those supported branches are actually affected — a bug introduced in a later version does not need a fix in earlier branches.
218+
3. Target the fix at the **oldest affected supported branch** first.
219+
4. Cherry-pick the commit to each newer supported branch up to and including `master`.
220+
5. Create separate PRs for each cherry-pick.
221+
6. Note all target branches in the original PR description.
218222

219223
---
220224

0 commit comments

Comments
 (0)