0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Bumped CI fetch-depth to 1000

refs https://ghost.slack.com/archives/C02G9E68C/p1727704490753759

- if you open a PR and it becomes outdated enough such that the base
  commit was 100 commits ago, the workflow starts to fail
- to help prevent this, we can increase it by 1000, which should more
  than cover enough use-cases but still keep checkout quick
This commit is contained in:
Daniel Lockyer 2024-09-30 16:01:49 +02:00 committed by Daniel Lockyer
parent 8fa9fb9c25
commit c58cbe4fb9

View file

@ -206,7 +206,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-depth: 1000
- uses: actions/setup-node@v4
env:
FORCE_COLOR: 0
@ -432,7 +432,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-depth: 1000
- uses: actions/setup-node@v4
env:
FORCE_COLOR: 0