Add CodeQL workflow - #197
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
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.ymlworkflow. - Runs CodeQL analysis via a language matrix (
ruby,javascript-typescript,actions) using the standard init/autobuild/analyze actions.
| permissions: | ||
| security-events: write | ||
| contents: read | ||
| strategy: |
There was a problem hiding this comment.
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).
No description provided.