Commit f5d091f
committed
Fix lint workflow for fork PRs
The lint workflow uses pull_request_target which can't fetch fork
branches by ref name. Switch to checking out by SHA with the fork's
repository, which works for both forks and same-repo PRs.
Skip the auto-push step for fork PRs since we can't push to
external repos.1 parent f5604b9 commit f5d091f
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
0 commit comments