Skip to content

Commit

Permalink
[ci] check out merge commit rather than PR tip
Browse files Browse the repository at this point in the history
I've decided checking out a merge is better.
  • Loading branch information
sunshowers authored Oct 2, 2023
1 parent 331dff1 commit 99f3f1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
# By default actions/checkout checks out a merge commit. Check out the PR head instead.
# https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
with:
toolchain: stable
Expand Down

0 comments on commit 99f3f1d

Please sign in to comment.