Skip to content

Commit fe6afbe

Browse files
authored
Fix ruff-action documentation to consistently use args instead of options (#10249)
1 parent cbd927f commit fe6afbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/integrations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,15 @@ Alternatively, you can include `ruff-action` as a step in any other workflow fil
417417
`ruff-action` accepts optional configuration parameters via `with:`, including:
418418

419419
- `version`: The Ruff version to install (default: latest).
420-
- `options`: The command-line arguments to pass to Ruff (default: `"check"`).
420+
- `args`: The command-line arguments to pass to Ruff (default: `"check"`).
421421
- `src`: The source paths to pass to Ruff (default: `"."`).
422422

423423
For example, to run `ruff check --select B ./src` using Ruff version `0.0.259`:
424424

425425
```yaml
426426
- uses: chartboost/ruff-action@v1
427427
with:
428-
src: "./src"
429428
version: 0.0.259
430-
args: --select B
429+
args: check --select B
430+
src: "./src"
431431
```

0 commit comments

Comments
 (0)