Skip to content

Labeler till 10 matches #493

Labeler till 10 matches

Labeler till 10 matches #493

Workflow file for this run

name: PMD
on:
push:
pull_request:
paths-ignore:
- '**/*.md'
- '**/*.txt'
jobs:
pmd-analyser-check:
name: PMD Static Code Analysis
permissions:
security-events: write
actions: read
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- uses: pmd/pmd-github-action@v1
with:
rulesets: 'pmd/resources/rulesets/java/quickstart.xml'
analyzeModifiedFilesOnly: false
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: pmd-report.sarif