We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1afb64 + 649fd20 commit 8b11042Copy full SHA for 8b11042
.github/workflows/clippy.yml
@@ -9,8 +9,11 @@ jobs:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v2
12
+ if: github.event_name == 'pull_request_target'
13
with:
- ref: ${{ github.head_ref || github.ref }}
14
+ ref: refs/pull/${{ github.event.number }}/head
15
+ - uses: actions/checkout@v2
16
+ if: github.event_name != 'pull_request_target'
17
- uses: actions-rs/toolchain@v1
18
19
profile: minimal
0 commit comments