mirror of
https://github.com/pre-commit/action.git
synced 2025-11-07 10:46:56 +00:00
Deployed to github pages
This commit is contained in:
parent
96e0777fb9
commit
0764670bf3
1 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
- uses: pre-commit/action@v1.1.1
|
- uses: pre-commit/action@v2.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
This does a few things:
|
This does a few things:
|
||||||
|
|
@ -44,7 +44,7 @@ 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):
|
the files (use the template above except for the `pre-commit` action):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pre-commit/action@v1.1.1
|
- uses: pre-commit/action@v2.0.0
|
||||||
with:
|
with:
|
||||||
extra_args: flake8 --all-files
|
extra_args: flake8 --all-files
|
||||||
```
|
```
|
||||||
|
|
@ -59,7 +59,7 @@ here's an example configuration for that (use the template above except for the
|
||||||
`pre-commit` action):
|
`pre-commit` action):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pre-commit/action@v1.1.1
|
- uses: pre-commit/action@v2.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue