Skip to content

Commit 637da14

Browse files
committed
Fix push-to-pull-request-branch target for workflow_dispatch
The codegen-agentic-fix workflow is always triggered via workflow_dispatch (from codegen-check.yml), which has no PR context. The push-to-pull-request-branch safe-output defaulted to target "triggering", causing every run to fail with "requires pull request context". Set target: "*" with labels: [dependencies] so the agent can push to the PR branch identified by the pr_number input, constrained to PRs carrying the "dependencies" label (Dependabot PRs).
1 parent f2c79b4 commit 637da14

2 files changed

Lines changed: 17 additions & 15 deletions

File tree

.github/workflows/codegen-agentic-fix.lock.yml

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/codegen-agentic-fix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ tools:
3434

3535
safe-outputs:
3636
push-to-pull-request-branch:
37+
target: "*"
38+
labels: [dependencies]
3739
add-comment:
3840
target: "*"
3941
max: 5

0 commit comments

Comments
 (0)