Skip to content

Commit 3b4f037

Browse files
authored
docs: improve verify option explanation (#1175)
1 parent fe19838 commit 3b4f037

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -322,15 +322,20 @@ with:
322322

323323
(optional)
324324

325-
If set to true and the action verify the configuration file against the JSONSchema.
325+
This option is `true` by default.
326+
327+
If the GitHub Action detects configuration file the validation will be performed unless this option is set to `false`.
328+
If there is no configuration file, the validation is skipped.
329+
330+
The JSONSchema used to validate the configuration depends on the version of golangci-lint you are using.
326331

327332
<details>
328333
<summary>Example</summary>
329334

330335
```yml
331336
uses: golangci/golangci-lint-action@v6
332337
with:
333-
verify: true
338+
verify: false
334339
# ...
335340
```
336341

0 commit comments

Comments
 (0)