Commit f335401
committed
fix(security): harden CI workflow and disable Maven auto-release [APS-19020]
CI / release supply-chain hardening:
- .github/workflows/ci.yml:
* pin actions/checkout from @v2 to commit SHA
34e114876b0b11c390a56381ad16ebd13914f8d5 (v4.3.1)
* pin actions/setup-java from @V3 to commit SHA
c1e323688fd81a25caa38c78aa6df2d33d3e20d9 (v4.8.0)
* add top-level `permissions: contents: read` block (mirrors the
pattern already used in .github/workflows/Semgrep.yml in this
repo). Token-scope minimization for the workflow.
- pom.xml: nexus-staging-maven-plugin's <autoReleaseAfterClose>
flipped true -> false. After mvn release:perform, the staged
release on OSSRH must now be promoted manually. The release
runbook will be updated separately.
- CHANGELOG.md: new file with an Unreleased section summarizing
all three security fixes (APS-19018, APS-19019, APS-19020) and
calling out the setProxy behaviour change for consumers.
Resolves: APS-190201 parent ba24f7b commit f335401
3 files changed
Lines changed: 46 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| 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 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments