diff options
-rw-r--r-- | .github/workflows/clippy.yml | 2 |
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 |