Skip to content

Commit

Permalink
old version of turbo-affected
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Nov 29, 2024
1 parent a68fb87 commit a7b5ce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
determine-affected:
name: "Turbo Affected"
if: ${{!github.event.pull_request.head.repo.fork }}
uses: LedgerHQ/ledger-live/.github/workflows/turbo-affected-reusable.yml@support/turbo-affected-fix-scope-testing-2
uses: LedgerHQ/ledger-live/.github/workflows/turbo-affected-reusable.yml@support/turbo-affected-fix-scope-testing-3
with:
head_branch: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
base_branch: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/turbo-affected-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,9 @@ jobs:
packages: ${{ steps.affected.outputs.packages }}
paths: ${{ steps.affected.outputs.paths }}
steps:
- name: Echo head branch and base branch
run: |
echo "Head branch: ${{ inputs.head_branch }}"
echo "Base branch: ${{ inputs.base_branch }}"
- name: Checkout head branch
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
ref: ${{ inputs.head_branch }}

- name: Fetch base branch
run: |
git fetch origin ${{ inputs.base_branch }}:${{ inputs.base_branch }} --depth=1
fetch-depth: 0

- uses: actions/github-script@v7
id: clean-refs
Expand Down

0 comments on commit a7b5ce7

Please sign in to comment.