Skip to content

Commit

Permalink
Allow finding external contributor's branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndpnt committed Feb 17, 2025
1 parent 6bced1c commit 54e6cbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
ref: ${{ github.event.pull_request.base.ref }}

- name: Checkout the current pull request branch
run: git checkout ${{ github.event.pull_request.head.ref }}
run: |
git fetch --no-tags origin +refs/pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }}
git checkout ${{ github.event.pull_request.head.ref }}
- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 54e6cbd

Please sign in to comment.