Skip to content

Add CodeQL workflow - #197

Closed
haru wants to merge 1 commit into
developfrom
feature/CodeQL_Advance_setup
Closed

Add CodeQL workflow#197
haru wants to merge 1 commit into
developfrom
feature/CodeQL_Advance_setup

Conversation

@haru

@haru haru commented Feb 11, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 11, 2026 04:04
@haru haru added the ignore-for-release Ignore for release note. label Feb 11, 2026
@codecov

codecov Bot commented Feb 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.21%. Comparing base (7de6826) to head (8f6e3f9).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #197   +/-   ##
========================================
  Coverage    93.21%   93.21%           
========================================
  Files           82       82           
  Lines         4244     4244           
========================================
  Hits          3956     3956           
  Misses         288      288           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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 CodeQL workflow to run code scanning for this Redmine plugin repository on pushes/PRs to develop/main and on a weekly schedule.

Changes:

  • Introduces a new .github/workflows/codeql.yml workflow.
  • Runs CodeQL analysis via a language matrix (ruby, javascript-typescript, actions) using the standard init/autobuild/analyze actions.

Comment on lines +19 to +22
permissions:
security-events: write
contents: read
strategy:

Copilot AI Feb 11, 2026

Copy link

Choose a reason for hiding this comment

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

On pull_request events coming from forks, GitHub restricts GITHUB_TOKEN to read-only, so security-events: write won’t be granted and the CodeQL upload step will fail. Consider skipping this job for forked PRs (e.g., guard with an if: that only runs on same-repo PRs), or use a safer alternative workflow design for fork PRs (avoid pull_request_target + autobuild unless you fully understand the risk).

Copilot uses AI. Check for mistakes.
@haru haru closed this Feb 11, 2026
@haru haru added the invalid This doesn't seem right label Feb 11, 2026
@haru
haru deleted the feature/CodeQL_Advance_setup branch February 11, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release Ignore for release note. invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants