fix #19 - Enable GitHub CodeQL scanning#132
Merged
ricardozanini merged 4 commits intoserverlessworkflow:mainfrom Apr 30, 2026
Merged
Conversation
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
|
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:
For more information about GitHub Code Scanning, check out the documentation. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enables GitHub CodeQL code scanning for the repository to analyze the JavaScript/TypeScript codebase (and GitHub Actions workflows), publishing findings to the repo’s Code scanning alerts.
Changes:
- Add a new GitHub Actions workflow to run CodeQL analysis on
push,pull_request, and a weekly schedule. - Harden existing workflows by explicitly setting minimal
GITHUB_TOKENpermissions (contents: read) to address CodeQL findings.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/sync-issues-to-project.yml | Adds explicit minimal workflow permissions (contents: read). |
| .github/workflows/ci_codeql.yml | Introduces CodeQL scanning workflow for JS/TS and GitHub Actions. |
| .github/workflows/ci_check_license_headers.yaml | Adds explicit minimal workflow permissions (contents: read). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
50201c7
into
serverlessworkflow:main
11 of 12 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #19
Summary
Configure GitHub’s CodeQL code scanning for this repository to analyze the JavaScript/TypeScript codebase, catch common security issues early, and surface findings in the repo Security → Code scanning alerts.
Goals
Non-Goals
Notes:
TS/JSfiles and also for GH Actions.The scan found 2 medium issues in 2 CIs and I fixed them in this PR:
Preview:
I created 2 PRs to test the result on my fork: