You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-8
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ jobs:
32
32
| Key | Description
33
33
|------------------|------------
34
34
| `ignore-compile` | If set to true, the Slither action will not attempt to compile the project. False by default. See [Advanced compilation](#advanced-compilation).
35
+
| `fail-on` | Cause the action to fail if Slither finds any issue of this severity or higher. See [action fail behavior](#action-fail-behavior).
35
36
| `node-version` | The version of `node` to use. If this field is not set, the latest version will be used.
36
37
| `sarif` | If provided, the path of the SARIF file to produce, relative to the repo root (see [Github Code Scanning integration](#github-code-scanning-integration)).
37
38
| `slither-args` | Extra arguments to pass to Slither.
@@ -47,6 +48,24 @@ If the project requires advanced compilation settings or steps, set
47
48
Slither. You can find an example workflow that uses this option in the
48
49
[examples](#examples) section.
49
50
51
+
### Action fail behavior
52
+
53
+
The Slither action supports a `fail-on` option, based on the `--fail-*` flags
54
+
added in Slither 0.8.4. To maintain the current action behavior, this option
55
+
defaults to `all`. The following table summarizes the action behavior across
56
+
different Slither versions. You may adjust this option as needed for your
57
+
workflows. If you are setting these options on your config file, set `fail-on:
58
+
config` to prevent the action from overriding your settings.
0 commit comments