mirror of
https://github.com/pre-commit/action.git
synced 2025-11-08 03:06:55 +00:00
Fixed code block
This commit is contained in:
parent
5904be8ce0
commit
67c3b74fdd
1 changed files with 3 additions and 3 deletions
|
|
@ -41,9 +41,9 @@ By default, this action runs all the hooks against all the files. `extra_args`
|
||||||
Here's a sample step configuration that only runs the `flake8` hook against all the files (use the template above except for the `pre-commit` action):
|
Here's a sample step configuration that only runs the `flake8` hook against all the files (use the template above except for the `pre-commit` action):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pre-commit/action@v2.0.0
|
- uses: pre-commit/action@v2.0.0
|
||||||
with:
|
with:
|
||||||
extra_args: flake8 --all-files
|
extra_args: flake8 --all-files
|
||||||
```
|
```
|
||||||
|
|
||||||
### In private repositories
|
### In private repositories
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue