Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Add basic PR check with CCR-like environment#3408

Merged
mbg merged 1 commit intomaingithub/codeql-action:mainfrom
mbg/add-ccr-checkgithub/codeql-action:mbg/add-ccr-checkCopy head branch name to clipboard
Jan 20, 2026
Merged

Add basic PR check with CCR-like environment#3408
mbg merged 1 commit intomaingithub/codeql-action:mainfrom
mbg/add-ccr-checkgithub/codeql-action:mbg/add-ccr-checkCopy head branch name to clipboard

Conversation

@mbg
Copy link
Member

@mbg mbg commented Jan 20, 2026

This adds a basic PR check for a CCR-like environment.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

  • Testing/None - This change does not impact any CodeQL workflows in production.

How did/will you validate this change?

  • Unit tests - I am depending on unit test coverage (i.e. tests in .test.ts files).
  • End-to-end tests - I am depending on PR checks (i.e. tests in pr-checks).

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

  • Rollback - Change can only be disabled by rolling back the release or releasing a new version with a fix.

Are there any special considerations for merging or releasing this change?

  • No special considerations - This change can be merged at any time.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

@mbg mbg requested a review from a team as a code owner January 20, 2026 12:20
Copilot AI review requested due to automatic review settings January 20, 2026 12:20
@github-actions github-actions bot added the size/XS Should be very easy to review label Jan 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new basic PR check to test the CodeQL Action in a CCR (Copilot Code Review) environment. The test configures a custom analysis key to simulate CCR-like conditions.

Changes:

  • Added a new test template that sets CODEQL_ACTION_ANALYSIS_KEY environment variable to test CCR-specific behavior
  • Generated corresponding GitHub Actions workflow that runs the test across multiple CodeQL versions

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pr-checks/checks/ccr.yml New test template defining a standard analysis in CCR mode with JavaScript language
.github/workflows/__ccr.yml Auto-generated workflow file from the template (not reviewed per coding guidelines)

@mbg mbg merged commit dce83e1 into main Jan 20, 2026
256 checks passed
@mbg mbg deleted the mbg/add-ccr-check branch January 20, 2026 14:04
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.