Skip to content

Commit

Permalink
build: checkout only feature branch tip and develop
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Nov 1, 2024
1 parent c7ee2af commit b7ba0e8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/turbo-affected-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ jobs:
packages: ${{ steps.affected.outputs.packages }}
paths: ${{ steps.affected.outputs.paths }}
steps:
- uses: actions/checkout@v4
- name: Checkout feature branch
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 1 # get tip of current branch only

- name: Fetch develop branch
run: |
git fetch origin develop:develop --depth=1
- uses: actions/github-script@v7
id: clean-refs
Expand Down

0 comments on commit b7ba0e8

Please sign in to comment.