5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-07 02:36:55 +00:00
This commit is contained in:
Anthony Sottile 2020-01-10 07:09:05 -08:00 committed by GitHub
parent b25e7c29f3
commit 4fce1afd0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ jobs:
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: pre-commit/action@v1.0.0
- uses: pre-commit/action@v1.0.1
```
This does a few things:
@ -51,7 +51,7 @@ here's an example configuration for that (use the template above except for the
`pre-commit` action):
```yaml
- uses: pre-commit/action@v1.0.0
- uses: pre-commit/action@v1.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
```