Commit 7bd5bfc
committed
feat: make SARIF upload opt-in to avoid paid feature requirement
Add upload-sarif input (default: false) to control GitHub Security tab
integration. This avoids confusing error messages for private repos
that don't have Code Security enabled ($30/mo per committer).
Also updated CodeQL action to v4 (v3 deprecated Dec 2026).
Usage for repos with Code Security enabled:
with:
upload-sarif: true1 parent 7e04408 commit 7bd5bfc
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
271 | 276 | | |
272 | 277 | | |
273 | 278 | | |
274 | | - | |
275 | | - | |
| 279 | + | |
| 280 | + | |
276 | 281 | | |
277 | 282 | | |
278 | | - | |
279 | 283 | | |
280 | 284 | | |
281 | 285 | | |
| |||
0 commit comments