Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[Copilot Dreaming] Remove duplicate guidance and false release-file assumptions - #4377

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/dream-curate-memories-20261204174800
Open

Copilot wants to merge 2 commits into
mainfrom
copilot/dream-curate-memories-20261204174800

Conversation

@Copilot

Copilot AI commented Dec 4, 2026

Copy link
Copy Markdown

🧠 How this helps Copilot

Maintainers have two copies of the build-layout facts to keep aligned. The Overview already gives Copilot the source, bundle, and script locations and execution methods. Removing the duplicate descriptions reduces that upkeep and the risk of future drift.

Copilot could mistake the release guidance's file list for a reliable way to identify release-family PRs. A mergeback does not have to change source defaults or API compatibility. Removing that false signature helps Copilot use the PR family instead; the merge-commit requirement and squash/rebase warnings remain.

Review commit by commit for the evidence behind each change.

Note

Copilot Dreaming proposes updates to this repository's Copilot instructions and skills in the background. Learn more about Copilot Dreaming.

Automated details

Source: curate-memories Dream, main at 7bac640.

copilot-dreamer[bot] added 2 commits December 4, 2026 17:47
Maintainers have two copies of the build layout to keep aligned. The Overview already gives the same reader the source, bundle, and script locations and execution methods.
https://github.com/github/codeql-action/blob/7bac640ac6f64ac363059485c29a32930e1abf66/.github/copilot-instructions.md#L7-L10

One copy reduces the risk of future drift. The generated-workflow review exclusion remains at this entry point.
https://github.com/github/codeql-action/blob/7bac640ac6f64ac363059485c29a32930e1abf66/.github/copilot-instructions.md#L26-L26
Copilot could mistake a file list for a reliable release-family PR signature. The mergeback procedure updates the package version and changelog, then rebuilds the Action. It does not have to change source defaults or API compatibility.
https://github.com/github/codeql-action/blob/7bac640ac6f64ac363059485c29a32930e1abf66/.github/actions/prepare-mergeback-branch/action.yml#L36-L67

The build copies existing defaults into lib rather than changing the source defaults.
https://github.com/github/codeql-action/blob/7bac640ac6f64ac363059485c29a32930e1abf66/build.mjs#L30-L45

The PR family still defines when the merge-commit requirement applies. The squash and rebase prohibitions, branch-linkage warning, and merge command remain at this entry point.
https://github.com/github/codeql-action/blob/7bac640ac6f64ac363059485c29a32930e1abf66/.github/instructions/release-merge.instructions.md#L12-L16
@Copilot
Copilot AI requested a review from a team as a code owner December 4, 2026 17:47
Copilot AI adaptive review requested due to automatic review settings December 4, 2026 17:47
@github-actions github-actions Bot added the size/XS Should be very easy to review label Dec 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The review identifies no active issues, and the changes remove duplicated guidance and unreliable release-file assumptions while preserving the relevant merge-commit requirements.

No open issues 🎉

What changed in this PR

Updates Copilot guidance to remove duplicated build-layout details and unreliable release-file assumptions.

Changes:

  • Simplifies generated-code guidance by retaining the canonical overview.
  • Removes false file-based release identification while preserving merge-commit requirements.
File Description
.github/​instructions/​release-merge.instructions.md Removes unreliable assumptions about files changed by release PRs.
.github/​copilot-instructions.md Removes duplicated TypeScript and build-layout guidance.

Review effort: Lite (adaptive)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants