2424 runs-on : ubuntu-latest
2525 steps :
2626 - uses : actions/checkout@v3
27- - uses : crytic/slither-action@v0.1.1
27+ - uses : crytic/slither-action@v0.2.0
2828` ` `
2929
3030### Options
@@ -63,9 +63,16 @@ config` to prevent the action from overriding your settings.
6363| `low` | Fail on any finding | Fail on any finding >= low
6464| `medium` | Fail on any finding | Fail on any finding >= medium
6565| `high` | Fail on any finding | Fail on any finding >= high
66- | `none` | Do not fail on findings | Do not fail on findings
66+ | `none` | Do not fail on findings † | Do not fail on findings
6767| `config` | Determined by config file | Determined by config file
6868
69+ † Note that if you use `fail-on : none` with Slither 0.8.3 or earlier, certain
70+ functionality may not work as expected. In particular, Slither will not produce
71+ a SARIF file in this case. If you require `fail-on : none` behavior with the
72+ SARIF integration, consider adding [`continue-on-error :
73+ true`](https://docs.github.com/es/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error)
74+ instead to the action step.
75+
6976# ## Using a different Slither version
7077
7178If the latest Slither release has a bug that does not let you analyze your
@@ -86,6 +93,22 @@ custom Slither release. This option can take different values:
8693Add `// slither-disable-next-line DETECTOR_NAME` before the finding, or use the
8794[Github Code Scanning integration](#github-code-scanning-integration).
8895
96+ # ## Staying up to date
97+
98+ We suggest enabling [Dependabot version updates for
99+ actions](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot)
100+ to get notified of new action releases. You can do so by creating
101+ `.github/dependabot.yml` in your repository with the following content :
102+
103+ ` ` ` yaml
104+ version: 2
105+ updates:
106+ - package-ecosystem: "github-actions"
107+ directory: "/"
108+ schedule:
109+ interval: "daily"
110+ ` ` `
111+
89112# # Github Code Scanning integration
90113
91114The action supports the Github Code Scanning integration, which will push
@@ -116,7 +139,7 @@ jobs:
116139 - uses: actions/checkout@v3
117140
118141 - name: Run Slither
119- uses: crytic/slither-action@v0.1.1
142+ uses: crytic/slither-action@v0.2.0
120143 id: slither
121144 with:
122145 sarif: results.sarif
@@ -151,7 +174,7 @@ jobs:
151174 runs-on: ubuntu-latest
152175 steps:
153176 - uses: actions/checkout@v3
154- - uses: crytic/slither-action@v0.1.1
177+ - uses: crytic/slither-action@v0.2.0
155178 with:
156179 target: 'src/'
157180` ` `
@@ -188,7 +211,7 @@ jobs:
188211 uses: actions/checkout@v3
189212
190213 - name: Run Slither
191- uses: crytic/slither-action@v0.1.1
214+ uses: crytic/slither-action@v0.2.0
192215 id: slither
193216 with:
194217 node-version: 16
@@ -233,7 +256,7 @@ jobs:
233256 uses: actions/checkout@v3
234257
235258 - name: Run Slither
236- uses: crytic/slither-action@v0.1.1
259+ uses: crytic/slither-action@v0.2.0
237260 id: slither
238261 with:
239262 sarif: results.sarif
@@ -300,7 +323,7 @@ jobs:
300323 run: nix-shell --run 'make build'
301324
302325 - name: Run Slither
303- uses: crytic/slither-action@v0.1.1
326+ uses: crytic/slither-action@v0.2.0
304327 with:
305328 ignore-compile: true
306329` ` `
0 commit comments