Skip to content

Enable GitHub Advanced Security/CodeQL - #960

Open
mwtrew wants to merge 3 commits into
mainfrom
add-stast
Open

Enable GitHub Advanced Security/CodeQL#960
mwtrew wants to merge 3 commits into
mainfrom
add-stast

Conversation

@mwtrew

@mwtrew mwtrew commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Status

What's changed?

  • Adds GitHub's security scanning action to our CI workflow.

Steps to perform after deploying to production

Applies to CI only.

Copilot AI lite review requested due to automatic review settings August 11, 2026 10:09
@cla-bot cla-bot Bot added the cla-signed label Aug 11, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a GitHub Actions workflow to run CodeQL “Advanced” code scanning for this Rails (Ruby) codebase, enabling GitHub Advanced Security/code scanning results on pushes and PRs.

Changes:

  • Introduces a new .github/workflows/codeql.yml workflow that runs CodeQL analysis for Ruby on push and pull_request to main.
  • Configures CodeQL init/analyze steps and job permissions for uploading code-scanning results.
Suppressed comments (1)

.github/workflows/codeql.yml:97

  • github/codeql-action/analyze is referenced by a floating major tag (@v4). To match the repository’s action-pinning convention and to avoid zizmor CI failures, pin this action to a specific commit SHA (see .github/workflows/ci.yml:40-55 for precedent).
      - name: Perform CodeQL Analysis
        uses: github/codeql-action/analyze@v4
        with:
          category: "/language:${{matrix.language}}"

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/codeql.yml
Comment thread .github/workflows/codeql.yml
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

Test coverage

92.18% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/31489670832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants