Skip to content

Commit

Permalink
Enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
lcollins authored May 4, 2024
1 parent c2b6702 commit 8166100
Show file tree
Hide file tree
Showing 7 changed files with 1,555 additions and 5,276 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Optional. Title for the check run to create. Defaults to `SpotBugs Source Code A
### `token`
Optional. GitHub API access token. Defaults to `${{ github.token }}`, which is set by `actions/checkout@v2` minimally.

### `fail-on-violation`
Optional. Whether to fail the check if any violations are found. Defaults to `false`.

## Example usage

```yaml
Expand All @@ -52,7 +55,7 @@ jobs:
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B verify spotbugs:spotbugs
- uses: lcollins/spotbugs-github-action@v2.0.0
- uses: lcollins/spotbugs-github-action@v3.0.0
with:
path: '**/spotbugsXml.xml'
```
Expand Down
Loading

0 comments on commit 8166100

Please sign in to comment.