We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad47c26 commit 48f1628Copy full SHA for 48f1628
1 file changed
.github/workflows/codeql-analysis.yml
@@ -0,0 +1,31 @@
1
+name: "CodeQL"
2
+
3
+on:
4
+ push:
5
+ branches: [master, develop]
6
+ pull_request:
7
+ branches: [master]
8
+ schedule:
9
+ - cron: '0 17 * * 1,3,5'
10
11
+jobs:
12
+ analyse:
13
+ name: Analyse
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v2
19
+ with:
20
+ fetch-depth: 2
21
22
+ - run: git checkout HEAD^2
23
+ if: ${{ github.event_name == 'pull_request' }}
24
25
+ - name: Initialize CodeQL
26
+ uses: github/codeql-action/init@v1
27
28
+ languages: go
29
30
+ - name: Perform CodeQL Analysis
31
+ uses: github/codeql-action/analyze@v1
0 commit comments