Skip to content

Commit

Permalink
Update pmd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalgoyal authored Dec 14, 2023
1 parent 888d2a4 commit 06ff6c8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/pmd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
steps:
name: "PMD"

on:
push:

pull_request:
paths-ignore:
- '**/*.md'
- '**/*.txt'

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
Expand All @@ -7,3 +17,8 @@ steps:
- uses: pmd/pmd-github-action@v1
with:
rulesets: 'ruleset.xml'
analyzeModifiedFilesOnly: false
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: pmd-report.sarif

0 comments on commit 06ff6c8

Please sign in to comment.