Skip to content

Commit

Permalink
docs: improve verify option explanation (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Fernandez authored and GitHub committed Feb 17, 2025
1 parent fe19838 commit 3b4f037
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,15 +322,20 @@ with:

(optional)

If set to true and the action verify the configuration file against the JSONSchema.
This option is `true` by default.

If the GitHub Action detects configuration file the validation will be performed unless this option is set to `false`.
If there is no configuration file, the validation is skipped.

The JSONSchema used to validate the configuration depends on the version of golangci-lint you are using.

<details>
<summary>Example</summary>

```yml
uses: golangci/golangci-lint-action@v6
with:
verify: true
verify: false
# ...
```

Expand Down

0 comments on commit 3b4f037

Please sign in to comment.