Skip to content

Commit

Permalink
Merge Push mirroring fix
Browse files Browse the repository at this point in the history
Ensure we do not use a shallow clone

`fetch-depth: 0` ensures the complete history (of all branches) is pulled from the repository, otherwise shallow clone is used

Related PR: #1085
  • Loading branch information
tcojean committed Jul 22, 2022
2 parents 6f0ff7f + bc9a708 commit a005081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: develop
fetch-depth: 0
persist-credentials: false
- name: Push to Gitlab
run: cp --preserve .github/mirror.sh /tmp && /tmp/mirror.sh
Expand Down

0 comments on commit a005081

Please sign in to comment.