| | |
| | | |
| | | on: |
| | | push: |
| | | branches: [ 'sustaining/4.10.x','master', 'issues/**', 'features/**' ] |
| | | branches: [ 'sustaining/4.10.x','master', 'issues?/**', 'features?/**' ] |
| | | pull_request: |
| | | |
| | | concurrency: |
| | |
| | | scanners: vuln |
| | | cache: false |
| | | - name: Upload Trivy report to GitHub Security |
| | | uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 |
| | | uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 |
| | | # upload even if a preceding step failed, but not without a report to upload |
| | | if: ${{ always() && hashFiles('trivy-results.sarif') != '' }} |
| | | with: |
| | |
| | | |
| | | on: |
| | | push: |
| | | branches: [ 'sustaining/4.10.x','master', 'issues/**', 'features/**' ] |
| | | branches: [ 'sustaining/4.10.x','master', 'issues?/**', 'features?/**' ] |
| | | pull_request: |
| | | branches: [ 'master' ] |
| | | schedule: |
| | |
| | | distribution: 'temurin' |
| | | |
| | | - name: Initialize CodeQL |
| | | uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 |
| | | uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 |
| | | with: |
| | | languages: ${{ matrix.language }} |
| | | build-mode: ${{ matrix.build-mode }} |
| | |
| | | # --------------------------------------------------------------------- |
| | | |
| | | - name: Perform CodeQL Analysis |
| | | uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 |
| | | uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 |
| | | with: |
| | | category: "/language:${{ matrix.language }}" |
| | |
| | | scanners: vuln |
| | | cache: false |
| | | - name: Upload report to GitHub Security |
| | | uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 |
| | | uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 |
| | | # upload even if a preceding step failed, but not without a report to upload |
| | | if: ${{ always() && hashFiles(format('trivy-{0}.sarif', matrix.tag)) != '' }} |
| | | with: |