5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-08 03:06:55 +00:00

Added lists

This commit is contained in:
BastianZim 2020-10-17 14:58:50 +02:00
parent 0a4f728ee3
commit 81815f7078

View file

@ -55,7 +55,7 @@ Using the template above, you'll need to make two replacements for individual ac
First is the checkout step, which needs to use unlimited fetch depth for pushing: First is the checkout step, which needs to use unlimited fetch depth for pushing:
```yaml ```yaml
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
``` ```
@ -63,7 +63,7 @@ First is the checkout step, which needs to use unlimited fetch depth for pushing
Next is passing the token to the `pre-commit` action: Next is passing the token to the `pre-commit` action:
```yaml ```yaml
- uses: pre-commit/action@v2.0.0 - uses: pre-commit/action@v2.0.0
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
``` ```