Skip to content

ci: add CodeQL analysis (shared workflow) - #4

Merged
tblauvvik merged 1 commit into
mainfrom
ci/codeql
Nov 10, 2026
Merged

tblauvvik merged 1 commit into
mainfrom
ci/codeql

Conversation

@tblauvvik

Copy link
Copy Markdown
Contributor

Adds CodeQL code scanning through the shared reusable workflow in OriginAS/origin-actions (push to the default branch, pull requests, monthly schedule).

What it does

Trigger When
push to main
pull_request opened, synchronize, reopened, ready_for_review (drafts are skipped)
schedule monthly, the 1st at 05:00 UTC
workflow_dispatch manual run
  • JDK: not set. There is no pom.xml, so the input is left at its default and Maven is not configured.
  • Languages: auto-detected (expected: GitHub Actions). Queries: security-extended.
  • Secrets: secrets: inherit (the optional package token is only used by Maven projects).
  • Permissions: security-events: write only on the analyze job.

Before merging

  • CodeQL default setup must stay off for this repo, otherwise GitHub rejects these uploads.

After merge

  • The push to main starts the first full scan (Security → Code scanning). Nothing deploys.

🤖 Generated with Claude Code

Adds CodeQL code scanning through the shared reusable workflow in
OriginAS/origin-actions (push to the default branch, pull requests,
monthly schedule, manual dispatch). security-events: write is granted
only to the analyze job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@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.

actions: read
contents: read
security-events: write
uses: OriginAS/origin-actions/.github/workflows/codeql.yml@main
@tblauvvik
tblauvvik merged commit 258852f into main Nov 10, 2026
2 checks passed
@tblauvvik
tblauvvik deleted the ci/codeql branch November 10, 2026 14:11
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.

2 participants