Skip to content

Commit

Permalink
checkout merge commit of PR, not base branch head
Browse files Browse the repository at this point in the history
  • Loading branch information
bj00rn committed May 31, 2024
1 parent ec1435b commit 344a67f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
options: --user root
steps:
- uses: actions/checkout@v4
with:
ref: '${{ github.event.pull_request.merge_commit_sha }}' # since event is pull_request_target
- name: Install Packages
run: yarn install --frozen-lockfile
- name: Build
Expand Down

0 comments on commit 344a67f

Please sign in to comment.