Skip to content

Commit f0778e0

Browse files
authored
Merge pull request #103 from Yubico/fix-codeql
Fix warnings in CodeQL workflow
2 parents dd68a96 + 58597d9 commit f0778e0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,11 @@ jobs:
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v2
17-
with:
18-
# We must fetch at least the immediate parents so that if this is
19-
# a pull request then we can checkout the head.
20-
fetch-depth: 2
17+
2118
- uses: actions/setup-java@v1
2219
with:
2320
java-version: '11'
2421

25-
# If this run was triggered by a pull request event, then checkout
26-
# the head of the pull request instead of the merge commit.
27-
- run: git checkout HEAD^2
28-
if: ${{ github.event_name == 'pull_request' }}
29-
3022
# Initializes the CodeQL tools for scanning.
3123
- name: Initialize CodeQL
3224
uses: github/codeql-action/init@v1

0 commit comments

Comments
 (0)