Commit aa768a8
committed
Fix: Ensure dependencies label on PRs before codegen-agentic-fix pushes
Fixes #199
The codegen-agentic-fix workflow's push-to-pull-request-branch safe-output
requires the target PR to have the `dependencies` label. Two gaps allowed
PRs to reach the agentic fix without this label:
1. update-copilot-dependency.yml: When the PR branch already exists from a
prior run, the workflow reused it without adding the label. Now calls
`gh pr edit --add-label dependencies` in that path.
2. codegen-check.yml: When triggering the agentic fix from any PR that
touches codegen paths, the PR might not have the label (e.g., a manual
PR or one created before the fix). Now ensures the label is present
before dispatching codegen-agentic-fix.lock.yml.1 parent 257a5bf commit aa768a8
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
0 commit comments