Commit 1e69b77
authored
ci: restore Renovate updates and vulnerability-alert access (#2200)
* ci: restore Renovate updates and vulnerability-alert access
The first Renovate run under the config from #2196 surfaced two regressions.
`minimumReleaseAge: "7 days"` runs under the default
`minimumReleaseAgeBehaviour: timestamp-required`, and the docker datasource
derives a release timestamp for Docker Hub images only. Every ghcr.io update
is therefore held pending regardless of age: run 31591982463 marked uv 0.12.0
through 0.12.3 and the HA container 2026.8.1 pending with
`check: minimumReleaseAge` and no timestamp, and uv 0.12.0 was two weeks old.
`timestamp-optional` keeps the age gate wherever a timestamp exists and stops
blocking where none does.
The same PR narrowed the installation token to four `permission-*` inputs, and
a token that names any permission drops the ones it does not name. The run now
warns `Cannot access vulnerability alerts` and the dashboard carries a
Repository Problems section for it, so the `vulnerabilityAlerts` carve-out
added in the same PR cannot fire. Granting `permission-vulnerability-alerts:
read` is the first step; if the warning survives, the App installation itself
lacks the permission.
Both invariants are pinned by structural tests in the supply-chain shape suite.
* test: pin the release-age gate itself, not only its behaviour
The conditional form passed vacuously if minimumReleaseAge were dropped.1 parent 7abe094 commit 1e69b77
3 files changed
Lines changed: 34 additions & 0 deletions
File tree
- .github/workflows
- tests/src/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
102 | 131 | | |
103 | 132 | | |
104 | 133 | | |
| |||
0 commit comments