Skip to content

Commit

Permalink
Set fetch depth for renovate actions (grpc-ecosystem#2741)
Browse files Browse the repository at this point in the history
This should help avoid the issue where a force push
deletes all the history for a PR. Thanks to Arthur
from Github for debugging this for me!
  • Loading branch information
johanbrandhorst authored Jun 3, 2022
1 parent 4377523 commit aec6aa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_PUSH_TOKEN }}
- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -58,6 +59,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_PUSH_TOKEN }}
- run: make install
- run: make clean
Expand Down

0 comments on commit aec6aa2

Please sign in to comment.