Repository navigation
ci(workflows): remove the CodeQL analysis - #218
Conversation
The repository is to become internal, where code scanning needs a GitHub Code Security licence. Ox Security and SonarCloud already scan this repository, so the CodeQL job and its reusable workflow go. Refs: TSSDK-84 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
OX Security reviewed this pull request — nothing to fix.
Branch |
There was a problem hiding this comment.
🔵 Needs a closer look
A maintainer must confirm removal of the CodeQL code_scanning requirement from the external “protected main” ruleset, as this merge prerequisite cannot be verified from the checkout.
No open issues 🎉
What changed in this PR
Removes CodeQL from the monorepo’s CI pipeline ahead of the repository becoming internal, avoiding the additional GitHub Code Security licensing requirement. Ox Security and SonarCloud remain in place.
Changes:
- Removes the CodeQL job from the main CI/CD workflow.
- Deletes the reusable CodeQL analysis workflow.
- Prunes the deleted workflow and CodeQL action from the action lockfile.
The PR description identifies a merge prerequisite: remove the CodeQL requirement from the “protected main” ruleset.
| File | Description |
|---|---|
.github/workflows/ci-cd.yml |
Removes the CodeQL job and its permissions. |
.github/workflows/actions.lock |
Removes lock entries for the deleted workflow and CodeQL action. |
.github/workflows/_codeql.yml |
Deletes the reusable CodeQL analysis workflow. |
Review effort: Balanced
# Conflicts: # .github/workflows/ci-cd.yml
|



Jira: TSSDK-84, part of TSSDK-83
The repository is to become internal. On a non-public repository, code scanning needs a GitHub Code Security licence, so the
codeqljob would fail to upload its results after the switch. Ox Security and SonarCloud already scan this repository. CodeQL found four issues here so far, allactions/missing-workflow-permissions, all fixed, none open.Changes
ci-cd.yml: thecodeqljob is gone._codeql.yml: deleted. No other workflow calls it.actions.lock: regenerated withgh actions-lock --no-interactive --migrate-local-actions --no-narrow, which pruned the deleted workflow andgithub/codeql-action.Ruleset
The repository ruleset "protected main" no longer has the
code_scanningrule that required CodeQL results onmain. With that rule in place, this PR and every later one would have waited for CodeQL results that never arrive.Verified
With the versions and options of the org's "Lint workflow files" check:
--persona pedantic --no-online-audits: the same two informationaluse-trusted-publishingfindings as onmain.--verifyand--verify-localpass.npm run format:checkpasses.🤖 Generated with Claude Code