Skip to content

Commit

Permalink
Revert "doc: suggest github/codeql-action/upload-sarif as default w…
Browse files Browse the repository at this point in the history
…ay how to upload SARIF"

This reverts commit fcd1b2a.
  • Loading branch information
jamacku committed Apr 3, 2023
1 parent 9f6e4ec commit 85986d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions README.md
Expand Up @@ -92,19 +92,15 @@ jobs:
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- if: ${{ always() }}
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@v3
with:
name: Differential ShellCheck SARIF
path: ${{ steps.ShellCheck.outputs.sarif }}

- if: ${{ always() }}
name: Upload SARIF to GitHub using github/codeql-action/upload-sarif
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.ShellCheck.outputs.sarif }}
```

> **Warning**: _`fetch-depth: 0` is required to run `differential-shellcheck` successfully. It fetches all git history._
Expand Down
1 change: 0 additions & 1 deletion docs/CHANGELOG.md
Expand Up @@ -5,7 +5,6 @@
* `grep` - do not escape `#` and `!` in patterns
* Utilize `DEBUG` to run `grep` without `--silent` option
* Update `csutils` (`csdiff`) to 3.0.0
* Update example - suggest `github/codeql-action/upload-sarif` as default way how to upload SARIF

## v4.0.2

Expand Down

0 comments on commit 85986d2

Please sign in to comment.