-
Notifications
You must be signed in to change notification settings - Fork 17
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
-
# Initializes the CodeQL tools for scanning.
name: Initialize CodeQL
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
with:
languages: ${{ matrix.language }}
-
name: Analyze ${{ matrix.language }}
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3