Skip to content

security(codeql): add codeql workflow#70

Merged
jorgenosberg merged 2 commits into
mainfrom
security/enable-code-ql
May 13, 2026
Merged

security(codeql): add codeql workflow#70
jorgenosberg merged 2 commits into
mainfrom
security/enable-code-ql

Conversation

@jorgenosberg
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 13, 2026 09:38
Copy link
Copy Markdown

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

Adds a GitHub Actions workflow to run CodeQL/code scanning on main pushes, PRs targeting main, and on a weekly schedule, leveraging the shared entur/gha-security reusable workflow.

Changes:

  • Introduces .github/workflows/codeql.yml to run a reusable CodeQL/code-scan workflow on PRs/pushes to main.
  • Adds a scheduled weekly scan (cron) and basic path ignore for README-only changes on push.
  • Configures job-level permissions and passes workflow inputs to the reusable workflow.
Comments suppressed due to low confidence (1)

.github/workflows/codeql.yml:27

  • secrets: inherit forwards all repository/environment secrets to the called reusable workflow. For least-privilege, pass only the specific secrets required by entur/gha-security/.github/workflows/code-scan.yml (or omit secrets: entirely if it only needs GITHUB_TOKEN).
    uses: entur/gha-security/.github/workflows/code-scan.yml@v2
    secrets: inherit

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

Comment thread .github/workflows/codeql.yml
Comment thread .github/workflows/codeql.yml Outdated
@jorgenosberg jorgenosberg merged commit 3b449d5 into main May 13, 2026
1 check passed
@jorgenosberg jorgenosberg deleted the security/enable-code-ql branch May 13, 2026 13:33
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