Commit b14a9be
ci: harden GitHub Actions workflows (#146)
* Add zizmor and actionlint CI job for GitHub Actions auditing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Configure dependabot for github-actions and bundler with cooldowns
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Pin GitHub Actions to SHA hashes with pinact
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Suppress unpinned-images for service containers
Digest pinning for service container images is nontrivial and low
value for CI test databases.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix artipacked and excessive-permissions findings
Add persist-credentials: false to test job checkout. Set workflow-level
permissions to deny-all and add scoped contents: read to each job.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Pin sqlite3 to ~> 1.4 for Rails 6.x compatibility
Rails 6.0/6.1 requires sqlite3 ~> 1.4, but without a constraint in the
gemspec, bundler resolves sqlite3 2.x on Ruby 3.0+ which is incompatible.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 226f932 commit b14a9be
3 files changed
+53
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
6 | 27 | | |
7 | 28 | | |
| 29 | + | |
| 30 | + | |
8 | 31 | | |
9 | 32 | | |
10 | 33 | | |
| |||
19 | 42 | | |
20 | 43 | | |
21 | 44 | | |
22 | | - | |
| 45 | + | |
23 | 46 | | |
24 | 47 | | |
25 | 48 | | |
26 | 49 | | |
27 | 50 | | |
28 | | - | |
| 51 | + | |
29 | 52 | | |
30 | 53 | | |
31 | 54 | | |
| |||
39 | 62 | | |
40 | 63 | | |
41 | 64 | | |
42 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
43 | 68 | | |
44 | | - | |
| 69 | + | |
45 | 70 | | |
46 | 71 | | |
47 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments