aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-10-26 23:41:38 +0000
committerGravatar GitHub <noreply@github.com> 2020-10-26 23:41:38 +0000
commita1afb64c0a55716ee729a1c99040e397ba7e998c (patch)
tree5d8079f90b4437301589bcb186b96536b2c5d22b
parentb315fa45cb556030b517bedeb35d8d2701606bd0 (diff)
parente96803110678c391a9d7856212271364b1a64526 (diff)
downloadcortex-m-a1afb64c0a55716ee729a1c99040e397ba7e998c.tar.gz
cortex-m-a1afb64c0a55716ee729a1c99040e397ba7e998c.tar.zst
cortex-m-a1afb64c0a55716ee729a1c99040e397ba7e998c.zip
Merge #278
278: Fix git ref checked out by Clippy r=adamgreig a=jonas-schievink Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
-rw-r--r--.github/workflows/clippy.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 7bbbf08..a708f5b 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
- ref: refs/pull/${{ github.event.number }}/head
+ ref: ${{ github.head_ref || github.ref }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal