Skip to content

Bump github/codeql-action from 2.22.8 to 2.22.9 #331

Bump github/codeql-action from 2.22.8 to 2.22.9

Bump github/codeql-action from 2.22.8 to 2.22.9 #331

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: pmd
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '33 14 * * 1'
permissions:
contents: read
jobs:
pmd-code-scan:
permissions:
contents: read # for pmd/pmd-github-action to determine modified files
pull-requests: read # for pmd/pmd-github-action to query PRs
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK 11
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Run PMD
id: pmd
uses: pmd/pmd-github-action@d57c0463ebba262a33d1983a5c6ac6031bfde43b
with:
analyzeModifiedFilesOnly: 'false'
rulesets: 'quickstart.xml'
sourcePath: 'src/main/java'
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2 # v2.22.9
with:
sarif_file: pmd-report.sarif