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
12c0cbaee9
commit
9cf68dc1ac
1 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- uses: pre-commit/action@v2.0.1
|
||||
- uses: pre-commit/action@v2.0.2
|
||||
```
|
||||
|
||||
This does a few things:
|
||||
|
|
@ -43,7 +43,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):
|
||||
|
||||
```yaml
|
||||
- uses: pre-commit/action@v2.0.1
|
||||
- uses: pre-commit/action@v2.0.2
|
||||
with:
|
||||
extra_args: flake8 --all-files
|
||||
```
|
||||
|
|
@ -68,7 +68,7 @@ pushing
|
|||
next is passing the token to the pre-commit action
|
||||
|
||||
```yaml
|
||||
- uses: pre-commit/action@v2.0.1
|
||||
- uses: pre-commit/action@v2.0.2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue