Skip to content

Commit 1e0dfad

Browse files
copilot-dreamer[bot]copilot-dreamer[bot]
authored andcommitted
[Copilot Dreaming] Reduce upkeep by removing duplicate build guidance
Repeating the same build-layout descriptions gives maintainers two places to update when the project structure changes. The overview already gives the same readers the source and output locations, the tracked bundled output, and the secondary project's direct execution route, so the extra copy adds upkeep without another reader action. https://github.com/github/codeql-action/blob/38112626f97ac1fd7acf3df7ebca51f4677c1b38/.github/copilot-instructions.md#L7-L10
1 parent 3811262 commit 1e0dfad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/copilot-instructions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The CodeQL Action is used in GitHub Actions workflows to run CodeQL scans using
2121

2222
## Generated code
2323

24-
The main codebase of the CodeQL Action is written in TypeScript and compiled to JavaScript. Both the TypeScript sources and the **generated** JavaScript code are contained in this repository. The TypeScript sources are contained in the `src` directory and the JavaScript code is contained in the `lib` directory. A GitHub Actions workflow checks that the JavaScript code in `lib` is up-to-date. Therefore, you should not review any changes to the contents of the `lib` folder and it is expected that the JavaScript code in `lib` closely mirrors the TypeScript code it is generated from. The secondary TypeScript codebase has sources in the `pr-checks` directory, which are executed directly with `tsx` and not compiled to JavaScript in the `lib` folder.
24+
A GitHub Actions workflow checks that the JavaScript code in `lib` is up-to-date. Therefore, you should not review any changes to the contents of the `lib` folder and it is expected that the JavaScript code in `lib` closely mirrors the TypeScript code it is generated from.
2525

2626
GitHub Actions workflows in the `.github/workflows` directory whose filenames start with two underscores (e.g. `__all-platform-bundle.yml`) are automatically generated using the `pr-checks/sync.sh` script from template files in the `pr-checks/checks` directory. Therefore, you do not need to review files in the `.github/workflows` directory that start with two underscores. However, you should review changes to the `pr-checks` directory as well as workflows in the `.github/workflows` directory that do not start with underscores.
2727

0 commit comments

Comments
 (0)