Skip to content

Commit d1336e6

Browse files
committed
chore: update clones to be of depth 1
1 parent b438fc3 commit d1336e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/push-event.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
git config --global user.name "github-actions[bot]"
5454
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
5555
56-
git clone --branch=version https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} version
56+
git clone --branch=version --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} version
5757
cd version
5858
5959
# Read and increment version name
@@ -121,7 +121,7 @@ jobs:
121121
git config --global user.name "github-actions[bot]"
122122
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
123123
124-
git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
124+
git clone --branch=apk --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
125125
cd apk
126126
127127
if [[ ${{ github.ref_name }} =~ ^(master)$ ]]; then
@@ -149,7 +149,7 @@ jobs:
149149
- name: Update app in Open Testing track
150150
if: ${{ github.repository == 'fossasia/pslab-android' }}
151151
run: |
152-
git clone --branch=fastlane https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} fastlane
152+
git clone --branch=fastlane --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} fastlane
153153
bundle exec fastlane uploadToOpenTesting
154154
if [[ $? -ne 0 ]]; then
155155
exit 1

0 commit comments

Comments
 (0)