5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-07 10:46:56 +00:00

Merge pull request #110 from henryh9n/patch-1

Update README with the latest version number
This commit is contained in:
Anthony Sottile 2021-06-16 16:14:03 -07:00 committed by GitHub
commit 4a56abdf97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.2
- uses: pre-commit/action@v2.0.3
```
This does a few things:
@ -52,7 +52,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.2
- uses: pre-commit/action@v2.0.3
with:
extra_args: flake8 --all-files
```
@ -77,7 +77,7 @@ pushing
next is passing the token to the pre-commit action
```yaml
- uses: pre-commit/action@v2.0.2
- uses: pre-commit/action@v2.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
```