Skip to content

Commit 31e58e7

Browse files
committed
Fetch all branches
1 parent aa02b04 commit 31e58e7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build-check-install.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ jobs:
297297
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
298298
path: ${{ github.event.repository.name }}
299299
repository: ${{ github.event.pull_request.head.repo.full_name }}
300-
fetch-depth: 2
300+
fetch-depth: 0
301301

302302
- name: Checkout repo 🛎
303303
uses: actions/[email protected]
@@ -522,12 +522,9 @@ jobs:
522522
cd ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
523523
524524
# Debugging
525-
pwd
526-
ls -lh
527-
ls -lh ..
528-
git branch
529-
git -C .. branch
530525
526+
git fetch --all
527+
git branch
531528
532529
# Get the list of R files that have changed
533530
files=$(git diff --name-only main.. -- tests/* R/*.R)

0 commit comments

Comments
 (0)