From cdebf02e5490989efc159cd1b4bc0645713e1dfc Mon Sep 17 00:00:00 2001 From: dragfire Date: Mon, 24 Aug 2020 15:17:00 -0600 Subject: Add a test that forbids merge commits --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb077e28d..fa276e2bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,6 +30,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 5 # We need to disable the existing toolchain to avoid updating rust-docs # which takes a long time. The fastest way to do this is to rename the -- cgit v1.2.3