Skip to content

Commit

Permalink
chore: codeql
Browse files Browse the repository at this point in the history
Signed-off-by: Oren Zhang <orenzhang@ovinc.cn>
  • Loading branch information
OrenZhang authored Feb 6, 2024
1 parent d278077 commit bdb6e3c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "CodeQL"

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

jobs:
analyze:
name: Analyze
runs-on: "ubuntu-latest"
timeout-minutes: 360
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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
with:
category: "/language:go"

0 comments on commit bdb6e3c

Please sign in to comment.