Repository navigation
Conversation
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
Contributor
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧠 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-memoriesDream,mainat7bac640.