Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create codeql-scanning.yml #279

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/codeql-scanning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "codeql-scanning"

on:
push:
branches:
- main
- 'release/*'
pull_request:
branches:
- main
- 'release/*'
schedule:
- cron: '0 9 * * *'

jobs:
CodeQL-Scanning:

runs-on: ubuntu-latest

permissions:
contents: read
security-events: write
pull-requests: read

steps:
- name: Checkout repository
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
anupsv marked this conversation as resolved.
Show resolved Hide resolved
with:
submodules: recursive

- name: Install golang
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: '1.22.0'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@1a7989f3955e0c69f0e0ccc14aee54a387a0fd31
with:
languages: go

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a
Loading