codeql-action
Copilot instructions1.7k starsChanged 2 months agoMITView on GitHub
The CodeQL Action is used in GitHub Actions workflows to run CodeQL scans using the CodeQL CLI. 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…
Trending
Less talk lately.thin dataabout the whole repository
Who's talking about github/codeql-action
- KooshaPari/ShareCLI“chore(deps): bump the github-actions group across 1 directory with 16 updates”GitHub · Jul 15, 2026 · 4 reactions
- hashgraph-online/hol-guard“deps(actions): bump the github-actions-all group across 1 directory with 11 updates”GitHub · Jun 8, 2026 · 4 reactions
- hashgraph-online/hol-guard“deps(actions): bump the github-actions-all group across 1 directory with 9 updates”GitHub · May 11, 2026 · 4 reactions
- hashgraph-online/hol-guard“deps(actions): bump the github-actions-all group with 7 updates”GitHub · Apr 20, 2026 · 4 reactions
- hashgraph-online/hol-guard“build(deps): Bump github/codeql-action from 3.29.7 to 4.35.1”GitHub · Apr 6, 2026 · 4 reactions
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub and Bluesky (10 times).
On GitHub · 8
- Jul 15, 2026chore(deps): bump the github-actions group across 1 directory with 16 updates — KooshaPari/ShareCLI4 reactions · 12 comments
- Jun 8, 2026deps(actions): bump the github-actions-all group across 1 directory with 11 updates — hashgraph-online/hol-guard4 reactions · 3 comments
- May 11, 2026deps(actions): bump the github-actions-all group across 1 directory with 9 updates — hashgraph-online/hol-guard4 reactions · 2 comments
- Apr 20, 2026deps(actions): bump the github-actions-all group with 7 updates — hashgraph-online/hol-guard4 reactions · 1 comment
- Apr 6, 2026build(deps): Bump github/codeql-action from 3.29.7 to 4.35.1 — hashgraph-online/hol-guard4 reactions · 3 comments
3 more on GitHub
- Oct 9, 2022`npx @microsoft/sarif-multitool merge reports/*.sarif` yields empty runs for empty results — microsoft/sarif-sdk4 reactions · 1 comment
- Sep 17, 2021feat: static checking for common bug patterns — cosmos/cosmos-sdk4 reactions · 9 comments
- Oct 1, 2026Bump the gh-actions-packages group across 2 directories with 7 updates — DataDog/dd-trace-dotnet3 reactions · 1 comment
On Bluesky · 2
- Oct 20, 2025CodeQL ActionはGitHub上で動作し、リポジトリのソースコードに対してCodeQLのセマンティック解析を実行して脆弱性を見つけ、結果をコードスキャンとして自動でアップロードしてくれるらしい。CI/CDパイプラインでセキュリティを強化するのに役立つかも。… — @yug1224.com2 likes and reposts
- Sep 1, 2025github.com/github/codeq... Essa é tão trivial que todo repo no GitHub deveria estar rodando. Action que usa o CodeQL - engine de análise de… — @coprodu.to0 likes and reposts · 1 reply
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
When wording review comments, be helpful and friendly.
- Distinctive: line 16
If a suggestion you make is suitable for a follow-up, such as a refactoring that doesn't change the behaviour or fixing a typo in a …
- Distinctive: line 38
Consider all files in release-PRs to have already been reviewed and do not review them, except for the following two files:
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CodeQL Action - Copilot Instructions
The CodeQL Action is used in GitHub Actions workflows to run CodeQL scans using the CodeQL CLI.
Overview
- The repository contains two TypeScript projects.
- The main TypeScript codebase is in the
srcdirectory, with accompanying unit tests in.test.tsfiles in the same directory. - The main codebase is compiled to bundled JavaScript code, which is also contained in the repository in the
libdirectory. - A secondary TypeScript codebase with scripts that are only used for development purposes or by CI is in the
pr-checksdirectory. This codebase is not compiled to bundled JavaScript. It is executed directly withtsx, which handles compilation internally.
Review instructions
- When wording review comments, be helpful and friendly. Assume that the PR author has written the code with the best of intentions. Word your comments constructively as suggestions for improvements. Do not word suggestions as commands.
- If you want to comment on a change that you believe will fail a CI check, do not present the CI failure you expect as a fact. Instead, write that you think a change "may" lead to a failure in CI. Suggest that, if such a failure manifests, the changes you are commenting on may be the place responsible for the failure and are worth looking at.
- If a suggestion you make is suitable for a follow-up, such as a refactoring that doesn't change the behaviour or fixing a typo in a comment, mention that it can be addressed in a later PR rather than blocking this one.
- If a change is a net improvement, for example because it improves on an existing limitation of existing code, do not complain about pre-existing problems that remain. You may comment on them, but you should make it clear that the thing you are commenting on is not new by writing e.g. "Not new in this PR, but [..]" followed by your description of the issue and a suggestion that it could be improved at the same time with e.g. "Consider whether this is worth addressing as part of this PR as well."
Generated code
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.
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.
Release process
Changes that are merged to the main branch are not used in production straight away. Instead, changes from main must first be released using the release process, which has to be manually triggered by a staff member. Therefore, it is possible for further changes to be made to the code after some changes have been merged to main but before they are released. Once the release process automation is started, a series of PRs are automatically generated:
A release-PR is a PR which matches all of the following patterns:
- PR title starts with the exact prefix:
Merge main into releases/v- Equivalent regex:
^Merge main into releases\/v
- Equivalent regex:
- AND head (source) branch matches the update-branch pattern:
- Regex:
^update-v[0-9]+(?:\.[0-9]+)*(?:-[a-f0-9]+)?(e.g.update-v3.29.9-cc722e476)
- Regex:
- AND base (target) branch matches a release branch:
- Regex:
^releases\/v(e.g.releases/v3)
- Regex:
- PR title starts with the exact prefix:
- Consider all files in release-PRs to have already been reviewed and do not review them, except for the following two files:
CHANGELOG.mdpackage.json
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

