chore: reduce fetch-depth when not publishing

This commit is contained in:
andig 2022-08-01 15:45:56 +02:00
parent 2b4a362eba
commit 49d5f80bc2
4 changed files with 1 additions and 11 deletions

View file

@ -15,8 +15,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
@ -47,8 +45,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
@ -113,8 +109,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3

View file

@ -14,8 +14,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3

View file

@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.5
env:

View file

@ -21,8 +21,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build docs
run: make docs