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:
parent
0a4f728ee3
commit
81815f7078
1 changed files with 23 additions and 23 deletions
|
|
@ -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:
|
||||
|
||||
```yaml
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
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:
|
||||
|
||||
```yaml
|
||||
- uses: pre-commit/action@v2.0.0
|
||||
- uses: pre-commit/action@v2.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue