Commit 49fa487
committed
Disable bundler cache in fork-facing lint job
CodeQL flags cache poisoning risk when pull_request_target checks
out untrusted code with bundler-cache enabled. A malicious fork
could poison the cache via a crafted Gemfile.lock.
Disable caching for the lint job (which runs fork code) and use
a plain bundle install instead. The autocorrect job (same-repo
only) retains bundler-cache.1 parent 41bdbef commit 49fa487
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments