Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Add a `uses` step to your GitHub [workflow](https://docs.github.com/en/actions/r

```yaml
- name: Indent check
uses: fish-shop/indent-check@v1
uses: fish-shop/indent-check@v2
```

By default, all files under `$GITHUB_WORKSPACE` with a `.fish` file extension are checked. To override the default behaviour, provide one or more space-separated pattern values to the `patterns` input. For example, to check all `.fish` files starting in the `src` directory and descending into subdirectories:

```yaml
- name: Indent check
uses: fish-shop/indent-check@v1
uses: fish-shop/indent-check@v2
with:
patterns: src/**.fish
```
Expand All @@ -38,7 +38,7 @@ Each pattern value may include [wildcards](https://fishshell.com/docs/current/la

```yaml
- name: Indent check
uses: fish-shop/indent-check@v1
uses: fish-shop/indent-check@v2
with:
patterns: init.fish functions/**.fish {conf.d,completions}/**.fish tests/???-*.fish
```
Expand Down
Loading