Skip to content

GUARD-2071: Remove Advanced CodeQL setup in favor of Default Setup#205

Merged
Jordi Soucheiron (jsoucheiron) merged 1 commit intomasterfrom
GUARD-2071-update-codeql-runner
Feb 6, 2026
Merged

GUARD-2071: Remove Advanced CodeQL setup in favor of Default Setup#205
Jordi Soucheiron (jsoucheiron) merged 1 commit intomasterfrom
GUARD-2071-update-codeql-runner

Conversation

@UjjwalSaini19
Copy link
Contributor

@UjjwalSaini19 Ujjwal Saini (UjjwalSaini19) commented Feb 5, 2026

Summary

Removes the Advanced CodeQL workflow file in favor of using the org-level Default Setup.

Why

The Advanced CodeQL workflow was originally added to work around IP allowlist restrictions that prevented standard GitHub runners from uploading SARIF results to GHAS.

Now that the org-level GHAS configuration ("Skyscanner Public Repos GHAS configuration") uses the labeled runner ubuntu-24.04-2cores-tools-public which has allowlisted IPs, this repo can use the Default Setup managed at the org level instead.

Changes

  • Deleted .github/workflows/codeql.yml (Advanced Setup workflow)
  • Repo will now use org-level Default Setup with the public labeled runner

Test plan

  • Verified Default Setup is working with the new runner configuration

Related

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings February 5, 2026 14:59
Copy link

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 updates the CodeQL workflow to use a new labeled runner that has allowlisted IPs for the Skyscanner GitHub organization. This eliminates the need for the previous workaround that used a GitHub App token and manual SARIF upload via curl.

Changes:

  • Updated runner from ubuntu-latest to ubuntu-24.04-2cores-tools-public
  • Removed GitHub App token generation step and all associated token references
  • Removed manual SARIF upload workaround (gzip, base64 encoding, and curl upload steps)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The Advanced CodeQL workflow was originally added to work around IP
allowlist restrictions that prevented standard GitHub runners from
uploading SARIF results to GHAS.

Now that the org-level GHAS configuration uses the labeled runner
`ubuntu-24.04-2cores-tools-public` which has allowlisted IPs, this
repo can use the Default Setup managed at the org level.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@UjjwalSaini19 Ujjwal Saini (UjjwalSaini19) changed the title GUARD-2071: Update CodeQL runner to use public labeled runner GUARD-2071: Remove Advanced CodeQL setup in favor of Default Setup Feb 5, 2026
@jsoucheiron Jordi Soucheiron (jsoucheiron) merged commit 797fd4e into master Feb 6, 2026
13 checks passed
@jsoucheiron Jordi Soucheiron (jsoucheiron) deleted the GUARD-2071-update-codeql-runner branch February 6, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants