-
Notifications
You must be signed in to change notification settings - Fork 18
41 lines (38 loc) · 1010 Bytes
/
codeql.yml
File metadata and controls
41 lines (38 loc) · 1010 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
33
34
35
36
37
38
39
40
41
name: "CodeQL"
permissions:
contents: read
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
path-ignore:
- '**/*.md'
schedule:
- cron: '39 19 * * 5'
jobs:
analyze:
name: Analyze.
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
contents: read
security-events: write
# actions: read # <- is needed only for private repositories
strategy:
fail-fast: false
matrix:
language: ['go','actions']
steps:
-
name: Checkout repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
-
# Initializes the CodeQL tools for scanning.
name: Initialize CodeQL
uses: github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4.31.4
with:
languages: ${{ matrix.language }}
-
name: Analyze ${{ matrix.language }}
uses: github/codeql-action/analyze@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4.31.4