Uh oh!
There was an error while loading. Please reload this page.
Improve pre-created pull request title and body - #53956
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Pull request overview
Improves pre-created draft PR titles and bodies to communicate work-in-progress status and apply configured title prefixes.
Changes:
- Propagates and applies
title-prefixafter[WIP]. - Expands the placeholder PR body and documentation.
- Adds compiler and JavaScript tests and recompiles the affected workflow.
Show a summary per file
| File | Description |
|---|---|
pkg/workflow/compiler_precreate_pull_request.go | Exports the configured title prefix. |
pkg/workflow/compiler_precreate_pull_request_test.go | Tests prefix propagation and omission. |
docs/src/content/docs/reference/safe-outputs-pull-requests.md | Documents the new placeholder content. |
actions/setup/js/pre_create_pull_request.test.cjs | Tests title and body behavior. |
actions/setup/js/pre_create_pull_request.cjs | Builds the new title and body. |
.github/workflows/daily-go-test-parallelizer.lock.yml | Includes the recompiled prefix environment variable. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Balanced
| let checkRun; | ||
| const titlePrefix = process.env.GH_AW_PR_TITLE_PREFIX || ""; | ||
| // "[WIP]" first so the in-progress state is visible even when a title prefix is configured. | ||
| const title = `[WIP] ${applyTitlePrefix(`${workflowName}: work in progress`, titlePrefix)}`; |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
gh-aw-bot
commented
Aug 19, 2026
@copilot Please address the remaining maintainer-visible blockers on this PR in one pass.
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Final resolution on current head
|
PR Triage
Improves pre-created PR title/body UX for safe-outputs create-pull-request pre-create flow. No test/CI risk observed; straightforward text change.
|
gh-aw-bot
commented
Aug 19, 2026
@copilot Please address the remaining unresolved review feedback, refresh the branch if GitHub offers one, and then run the Open review threads (newest first):
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Resolved on current head
|
🎉 This pull request is included in a new release. Release: |
The draft PR allocated by
safe-outputs.create-pull-request.pre-createused the title[<workflow>] Work in progress, ignored the configuredtitle-prefix, and had a one-line body that did not convey the PR's in-progress state or that steering the running agent is unsupported.Title
[WIP], then the configuredtitle-prefix(applied viaapplyTitlePrefix, so spacing/duplication rules match other safe outputs), then text containing the workflow name.Compiler
addActivationPreCreatePullRequestStepemitsGH_AW_PR_TITLE_PREFIXfromcreate-pull-request.title-prefix; the env var is omitted when unset.Body
Docs & tests
pre_create_pull_request.test.cjscovers the WIP marker, prefix placement, and body content. Workflow lock files recompiled.Generated by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/32249206937> Generated by 👨🍳 PR Sous Chef · gpt54 · 23.7 AIC · ⌖ 8.26 AIC · ⊞ 9.3K · ◷