Skip to content

ci: add license scan workflow (#3407) #4007

ci: add license scan workflow (#3407)

ci: add license scan workflow (#3407) #4007

Workflow file for this run

name: "CodeQL"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
- cron: '16 11 * * 5'
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-22.04'
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- go
steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: ./tools/github-actions/setup-deps
- name: Initialize CodeQL
uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
with:
category: "/language:${{matrix.language}}"