-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 795 Bytes
/
codeql.yaml
File metadata and controls
32 lines (32 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "codeql"
on:
push:
branches: [ main ]
paths-ignore:
- 'docs/**'
- 'README.md'
- '.goreleaser.yaml'
pull_request:
branches: [ main ]
paths-ignore:
- 'docs/**'
- 'README.md'
- '.goreleaser.yaml'
jobs:
analyze:
name: analyze
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
# Initializes the CodeQL tools for scanning.
- uses: github/codeql-action/init@v4
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- uses: github/codeql-action/autobuild@v4
- uses: github/codeql-action/analyze@v4