Skip to content

Commit

Permalink
chore: update clones to be of depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
adityastic committed Jun 30, 2024
1 parent b438fc3 commit d1336e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git clone --branch=version https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} version
git clone --branch=version --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} version
cd version
# Read and increment version name
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
git clone --branch=apk --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
cd apk
if [[ ${{ github.ref_name }} =~ ^(master)$ ]]; then
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Update app in Open Testing track
if: ${{ github.repository == 'fossasia/pslab-android' }}
run: |
git clone --branch=fastlane https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} fastlane
git clone --branch=fastlane --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} fastlane
bundle exec fastlane uploadToOpenTesting
if [[ $? -ne 0 ]]; then
exit 1
Expand Down

0 comments on commit d1336e6

Please # to comment.