-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex
committed
Nov 13, 2024
1 parent
6fc10db
commit 5265f55
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "CodeQL Analysis" on: | ||
push: branches: | ||
- main # Runs the analysis when changes are pushed to the main branch pull_request: | ||
branches: | ||
- main # Runs the analysis when a PR is opened to the main branch | ||
jobs: analyze: | ||
name: Analyze code with CodeQL runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository uses: actions/checkout@v3 | ||
- name: Set up CodeQL | ||
uses: github/codeql-action/setup-codeql@v2 | ||
- name: Run CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 with: | ||
categories: 'security' | ||
# Can be 'security' or 'security-and-quality' depending on the type of scan you need |