Skip to content

Commit

Permalink
Checkout PR on head SHA rather than merge commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed May 3, 2024
1 parent 5fb49a2 commit 911879d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup
uses: "./.github/workflows/setup"
- name: Quality Control
Expand All @@ -37,6 +39,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup
uses: "./.github/workflows/setup"
- name: Set Short Hash
Expand All @@ -53,6 +57,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup
uses: "./.github/workflows/setup"
- name: Set Short Hash
Expand All @@ -72,6 +78,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup
uses: "./.github/workflows/setup"
- name: "Package (${{ matrix.os }})"
Expand Down

0 comments on commit 911879d

Please sign in to comment.