-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 868 Bytes
/
Copy pathcodeql.yml
File metadata and controls
34 lines (30 loc) · 868 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
name: "CodeQL"
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "43 12 * * 3"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["go"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- uses: actions/checkout@v2
- uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Run CodeQL
uses: github/codeql-action/analyze@v1