Skip to content

Commit

Permalink
v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Oct 3, 2023
1 parent b392c11 commit 0b37fe0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
uses: redhat-plumbers-in-action/differential-shellcheck@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -166,7 +166,7 @@ Action currently accepts following options:
# ...
- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
uses: redhat-plumbers-in-action/differential-shellcheck@v5
with:
triggering-event: <name of triggering event>
base: <sha1>
Expand Down Expand Up @@ -329,7 +329,7 @@ Relative path to SARIF file containing detected defects. Example of use:
```yaml
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
uses: redhat-plumbers-in-action/differential-shellcheck@v5
- if: ${{ always() }}
name: Upload artifact with ShellCheck defects in SARIF format
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ outputs:

runs:
using: docker
image: docker://ghcr.io/redhat-plumbers-in-action/differential-shellcheck:v4.2.2
image: docker://ghcr.io/redhat-plumbers-in-action/differential-shellcheck:v5.0.0
env:
INPUT_TRIGGERING_EVENT: ${{ inputs.triggering-event }}
INPUT_PULL_REQUEST_BASE: ${{ inputs.pull-request-base }}
Expand Down
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Next release

## v5.0.0

* Added defect statistics based on severity levels. They are available in the console output and in the job Summary page.
* New option `scan-directory`. Allows to specify directories that will be scanned. By default Differential ShellCheck scans the whole repository.
* Show more context for ShellCheck defects and fixes in console output. The defect is now shown in the context of the surrounding code.
Expand Down

0 comments on commit 0b37fe0

Please sign in to comment.