Skip to content

Commit

Permalink
Create codeQL-scanning.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv authored Dec 13, 2024
1 parent cfdf4fd commit bfbd2ea
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/codeQL-scanning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "CodeQL scanning"

on:
push:
branches:
- master
- 'release/*'
pull_request:
branches:
- main
- 'release/*'
paths:
- 'node/**'
- 'operators/**'
- 'retriever/**'
- 'disperser/**'
- 'core/**'
- 'common/**'
- 'api/**'
- '.github/codeql/**'
- '.github/workflows/codeql-analysis.yml'
schedule:
- cron: '0 9 * * 1'

jobs:
CodeQL-Build:

runs-on: ubuntu-latest

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

steps:
- name: Checkout repository
uses: actions/checkout@v4

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

- name: Autobuild
uses: github/codeql-action/autobuild@v3

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

0 comments on commit bfbd2ea

Please sign in to comment.