Commit af14514
ci: SHA-pin all actions + drop ci-java path filter to unblock required check
Two fixes flagged by code review of PR #131:
1. **Pin every `uses:` to a 40-char commit SHA** (Scorecard
Pinned-Dependencies rule). New workflows landed with `@v4`/`@v5`/etc
tags. Resolved each to the latest release commit SHA via
`gh api repos/<owner>/<repo>/releases/latest`. Comments preserve
the tag for readability:
actions/checkout@de0fac2e... # v6.0.2
actions/setup-go@4a360112... # v6.4.0
actions/upload-artifact@043fb46d... # v7.0.1
actions/download-artifact@3e5f45b2... # v8.0.1
actions/attest-build-provenance@a2bbfa25... # v4.1.0
anchore/sbom-action@e22c3899... # v0.24.0
sigstore/cosign-installer@6f9f1778... # v4.1.2
goreleaser/goreleaser-action@1a80836c... # v7.2.1
2. **Remove `paths:` filter from ci-java.yml.** The `build` job
name is a required check on main's branch protection. With the
path filter, PRs that don't touch `src/**` or `pom.xml` (like the
phase-5 release PR) cause the workflow to be skipped, which never
reports a status — leaving "build" stuck at "Waiting for status
to be reported" indefinitely and blocking merge.
Java compile is ~1 minute with the Maven cache. The cost is worth
the always-on signal until Phase 6 cutover deletes the Java tree.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 494343f commit af14514
3 files changed
Lines changed: 22 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 17 | | |
22 | 18 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
0 commit comments