Skip to content

Commit

Permalink
Update CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Feb 11, 2023
1 parent f9e2f42 commit 51a8038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Setup Java
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Build with Maven
run: mvn --no-transfer-progress -B -DskipTests=true -DskipITs=true install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
sonatype:
if: github.repository == 'piranhacloud/piranha' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 51a8038

Please sign in to comment.