Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d8d995308b | |||
| 990c796d04 | |||
| d9aaf5a146 | |||
| 59f1519f66 | |||
| dedf6538c7 | |||
| 0af4939d8e | |||
| c24e96da97 | |||
| 4b26b97caf | |||
| f8c8b82e87 | |||
| e4d7a56547 | |||
| f0de1fa33a |
@@ -0,0 +1,20 @@
|
|||||||
|
name: Promotion Gate
|
||||||
|
|
||||||
|
# Calls the shared promotion gate workflow.
|
||||||
|
# dev PRs: no gate (engineer self-merges).
|
||||||
|
# uat PRs: QA approval required.
|
||||||
|
# main PRs: UAT approval required (uat→main promotions).
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_review:
|
||||||
|
types: [submitted, dismissed]
|
||||||
|
pull_request:
|
||||||
|
branches: [uat, main]
|
||||||
|
types: [opened, reopened, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
promotion-gate:
|
||||||
|
uses: privilegedescalation/.github/.github/workflows/dual-approval-check.yaml@main
|
||||||
|
secrets: inherit
|
||||||
|
with:
|
||||||
|
pr_number: ${{ github.event.pull_request.number }}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
// Allowlist for inherited dev-dependency CVEs from @kinvolk/headlamp-plugin
|
||||||
|
// CTO decision (PRI-854): these high-severity vulns are dev/build-time only,
|
||||||
|
// trace to @kinvolk/headlamp-plugin transitive deps (Picomatch, Vite, lodash),
|
||||||
|
// and do NOT ship in production plugin artifacts.
|
||||||
|
"allowlist": [
|
||||||
|
{
|
||||||
|
"id": "GHSA-hhpm-516h-p3p6",
|
||||||
|
"reason": "Picomatch ReDoS: devDependency only, does not ship in production plugin bundle"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "GHSA-36xf-7xpp-53w5",
|
||||||
|
"reason": "Vite arbitrary file read: devDependency only, does not ship in production plugin bundle"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "GHSA-jf8v-p3pp-93qh",
|
||||||
|
"reason": "lodash code injection via _.template: devDependency only, does not ship in production plugin bundle"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Generated
+2
-2
@@ -6233,7 +6233,7 @@ snapshots:
|
|||||||
material-react-table: 2.13.3(0078ddeddc9e779fa84c03996c1db10e)
|
material-react-table: 2.13.3(0078ddeddc9e779fa84c03996c1db10e)
|
||||||
monaco-editor: 0.52.2
|
monaco-editor: 0.52.2
|
||||||
msw: 2.4.9(typescript@5.6.2)
|
msw: 2.4.9(typescript@5.6.2)
|
||||||
msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.2))
|
msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.3))
|
||||||
notistack: 3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
notistack: 3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
path-browserify: 1.0.1
|
path-browserify: 1.0.1
|
||||||
prettier: 2.8.8
|
prettier: 2.8.8
|
||||||
@@ -10238,7 +10238,7 @@ snapshots:
|
|||||||
|
|
||||||
ms@2.1.3: {}
|
ms@2.1.3: {}
|
||||||
|
|
||||||
msw-storybook-addon@2.0.3(msw@2.4.9(typescript@5.6.2)):
|
msw-storybook-addon@2.0.3(msw@2.4.9(typescript@5.6.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
is-node-process: 1.2.0
|
is-node-process: 1.2.0
|
||||||
msw: 2.4.9(typescript@5.6.2)
|
msw: 2.4.9(typescript@5.6.2)
|
||||||
|
|||||||
Reference in New Issue
Block a user