We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5c3fa commit f460b58Copy full SHA for f460b58
.github/workflows/codeql.yml
@@ -13,12 +13,18 @@ jobs:
13
steps:
14
- name: Checkout code
15
uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 2
18
+
19
+ - name: Checkout the head of the pull request instead
20
+ run: git checkout HEAD^2
21
+ if: ${{ github.event_name == 'pull_request' }}
22
23
- name: Initialize CodeQL
24
uses: github/codeql-action/init@v1
25
26
- name: Autobuild
27
uses: github/codeql-action/autobuild@v1
28
- - name: Perform CodeQL Analysis
29
+ - name: Perform CodeQL analysis
30
uses: github/codeql-action/analyze@v1
0 commit comments