Skip to content

Commit b315fa4

Browse files
Merge #277
277: ci: run Clippy on pull_request_target r=adamgreig a=jonas-schievink Co-authored-by: Jonas Schievink <[email protected]>
2 parents e42899b + 1625868 commit b315fa4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/clippy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
on:
22
push:
33
branches: [ staging, trying, master ]
4-
pull_request:
4+
pull_request_target:
55

66
name: Clippy check
77
jobs:
88
clippy:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
with:
13+
ref: refs/pull/${{ github.event.number }}/head
1214
- uses: actions-rs/toolchain@v1
1315
with:
1416
profile: minimal

0 commit comments

Comments
 (0)