Skip to content

ci: add CodeQL workflow and badge#3

Closed
BryanFRD wants to merge 2 commits into
mainfrom
ci/codeql
Closed

ci: add CodeQL workflow and badge#3
BryanFRD wants to merge 2 commits into
mainfrom
ci/codeql

Conversation

@BryanFRD
Copy link
Copy Markdown
Contributor

Add explicit CodeQL analysis workflow running on push to main, PRs, and weekly schedule. Add CodeQL badge to README.

Copilot AI review requested due to automatic review settings March 30, 2026 17:55
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 CodeQL code scanning to the repository and surfaces its status in the README via a badge.

Changes:

  • Add a new CodeQL GitHub Actions workflow triggered on push, pull_request, and a weekly schedule.
  • Add CI/CodeQL/License badges to the top of README.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Adds CI, CodeQL, and license badges for visibility.
.github/workflows/codeql.yml Introduces a CodeQL analysis workflow for GitHub Actions content.

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

analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

permissions only grants security-events: write. CodeQL + checkout can fail in repos/orgs with restricted default GITHUB_TOKEN permissions. Add explicit contents: read (for checkout) and typically actions: read as recommended by CodeQL docs, either at workflow or job scope, while keeping security-events: write for SARIF upload.

Suggested change
permissions:
permissions:
actions: read
contents: read

Copilot uses AI. Check for mistakes.
@BryanFRD BryanFRD closed this Mar 30, 2026
@BryanFRD BryanFRD deleted the ci/codeql branch March 30, 2026 17:58
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