Skip to content

Commit

Permalink
Merge pull request #1030 from LedgerHQ/support/clean-fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
valpinkman authored Aug 23, 2022
2 parents 49f5c28 + 798028d commit 2a18073
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.event.push.head.sha }}
persist-credentials: false
fetch-depth: 0
- name: set git user
run: |
git config user.email "[email protected]"
Expand Down Expand Up @@ -109,7 +108,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.event.push.head.sha }}
persist-credentials: false
fetch-depth: 0
- name: set git user
run: |
git config user.email "[email protected]"
Expand Down Expand Up @@ -155,7 +153,6 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.event.push.head.sha }}
fetch-depth: 0
- name: update path
run: |
echo "C:\Program Files\Git\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Expand Down Expand Up @@ -199,7 +196,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.event.push.head.sha }}
persist-credentials: false
fetch-depth: 0
- name: set git user
run: |
git config user.email "[email protected]"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-create-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: set git user
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- uses: actions/checkout@v3
with:
ref: develop
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: set git user
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: set git user
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-prepare-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0
token: ${{ secrets.GH_PAT }}

- name: set git user
Expand Down Expand Up @@ -58,6 +57,10 @@ jobs:
git push origin ${{ github.event.inputs.ref }}
git fetch origin
- name: fetch develop and main
run: |
git fetch origin develop main
- name: merge into develop
run: |
git checkout develop
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-prepare-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0
token: ${{ secrets.GH_PAT }}

- name: set git user
Expand Down Expand Up @@ -58,6 +57,10 @@ jobs:
git push origin ${{ github.event.inputs.ref }}
git fetch origin
- name: fetch develop and main
run: |
git fetch origin develop main
- name: merge into main
run: |
git checkout main
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-prepare-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: set git user
run: |
Expand Down

0 comments on commit 2a18073

Please sign in to comment.