Skip to content

Commit

Permalink
Use version range for CodeQL action (keycloak#23377)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops authored Sep 20, 2023
1 parent 59160e5 commit 48e4e97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
- uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2.21.6
uses: github/codeql-action/init@v2
with:
languages: java

- name: Build Keycloak
uses: ./.github/actions/build-keycloak

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2.21.6
uses: github/codeql-action/analyze@v2
with:
wait-for-processing: true
env:
Expand All @@ -72,15 +72,15 @@ jobs:
- uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2.21.6
uses: github/codeql-action/init@v2
env:
CODEQL_ACTION_EXTRA_OPTIONS: '{"database":{"finalize":["--no-run-unnecessary-builds"]}}'
with:
languages: javascript
source-root: themes/src/main/

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2.21.6
uses: github/codeql-action/analyze@v2
with:
wait-for-processing: true
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snyk-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

- name: Upload Quarkus scanner results to GitHub
uses: github/codeql-action/upload-sarif@v2.21.6
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: quarkus-report.sarif
category: snyk-quarkus-report
Expand All @@ -41,7 +41,7 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

- name: Upload Operator scanner results to GitHub
uses: github/codeql-action/upload-sarif@v2.21.6
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: operator-report.sarif
category: snyk-operator-report
2 changes: 1 addition & 1 deletion .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
timeout: 15m

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2.21.6
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: trivy-results.sarif

0 comments on commit 48e4e97

Please sign in to comment.