Skip to content

Commit 124ee3f

Browse files
authored
Merge pull request #3 from advanced-security/fix-readme
Fix readme
2 parents 2cdec5d + 70715a6 commit 124ee3f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Then, set up this Action as a step in your Actions workflow, e.g. for a typical
1616
- name: Run SpotBugs with FindSecBugs
1717
uses: advanced-security/spotbugs-findsecbugs-action@v1
1818
with:
19-
spotbugs_target: 'target/scala-*/classes'
19+
spotbugs_target: 'target/scala-2.13/classes'
2020
```
2121
2222
## Inputs
2323
2424
* `spotbugs_version`: The version of SpotBugs to use. Default: `4.7.3`
2525
* `findsecbugs_version`: The version of FindSecBugs to use. Default: `1.12.0`
26-
* `spotbugs_target`: The target to run SpotBugs against. Default: `*.jar`
26+
* `spotbugs_target`: The target directory to run SpotBugs against. Default: `target/`
2727
* `upload_sarif`: Whether to upload the SARIF file to GitHub Code Scanning. Default: `true`
2828
* `java_distribution`: The Java distribution to use. Default: `microsoft`
2929
* `java_version`: The Java version to use. Default: `11`

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ inputs:
1818
spotbugs_target:
1919
description: 'The target to run SpotBugs against'
2020
required: false
21-
default: '*.jar'
21+
default: 'target/'
2222
upload_sarif:
2323
description: 'Whether to upload the SARIF file to GitHub Code Scanning'
2424
required: false

0 commit comments

Comments
 (0)