diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-06-03 15:02:21 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-06-03 15:02:21 +0200 |
commit | fc0e42912cca2ead51415a0cd32faaf14ebcee61 (patch) | |
tree | bc0d949f68987dc089753e8935f461878af864f2 | |
parent | a982e34611e46e753a14f591ea007d3156a018e0 (diff) |
Update github Code-QL workflow
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bf1ac6a..23437c9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -15,14 +15,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} + uses: actions/checkout@v3 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 |