Compare commits

..

3 Commits

Author SHA1 Message Date
Gandalf the Greybeard 2ae570bb25 fix(ci): replace ubuntu-latest with runners-privilegedescalation (PRI-1825)
CI / ci (push) Has been cancelled
CI / ci (pull_request) Has been cancelled
Promotion Gate / Promotion Gate (pull_request) Has been cancelled
2026-06-17 04:35:37 +00:00
Gandalf the Greybeard c559437a37 fix(ci): replace ubuntu-latest with runners-privilegedescalation (PRI-1825)
CI / ci (push) Has been cancelled
2026-06-17 04:35:37 +00:00
Gandalf the Greybeard 3a575e5848 fix(ci): replace ubuntu-latest with runners-privilegedescalation (PRI-1825)
CI / ci (push) Has been cancelled
2026-06-17 04:35:36 +00:00
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ permissions:
jobs:
ci:
runs-on: ubuntu-latest
runs-on: runners-privilegedescalation
timeout-minutes: 10
container: node:22-slim
+3 -3
View File
@@ -14,7 +14,7 @@ on:
jobs:
promotion-gate:
name: Promotion Gate
runs-on: ubuntu-latest
runs-on: runners-privilegedescalation
container: ubuntu:latest
timeout-minutes: 5
@@ -94,14 +94,14 @@ jobs:
exit 1
fi
REVIEWER_APPROVED=$(printf '%s' "${REVIEWS}" | jq -r --arg user "${REQUIRED_REVIEWER}" \
REVIEWER_APPROVED=$(echo "${REVIEWS}" | jq -r --arg user "${REQUIRED_REVIEWER}" \
'[.[] | select(.user.login == $user)] | last | if .state then .state == "APPROVED" else false end')
echo "${GATE_NAME} (${REQUIRED_REVIEWER}) approved: ${REVIEWER_APPROVED}"
# Fallback: check if CTO approved as alternative for uat→main
if [ "${REVIEWER_APPROVED}" != "true" ] && [ -n "${ALT_REVIEWER}" ]; then
REVIEWER_APPROVED=$(printf '%s' "${REVIEWS}" | jq -r --arg user "${ALT_REVIEWER}" \
REVIEWER_APPROVED=$(echo "${REVIEWS}" | jq -r --arg user "${ALT_REVIEWER}" \
'[.[] | select(.user.login == $user)] | last | if .state then .state == "APPROVED" else false end')
if [ "${REVIEWER_APPROVED}" = "true" ]; then
echo "CTO (${ALT_REVIEWER}) approved as fallback for UAT gate."
+1 -1
View File
@@ -5,7 +5,7 @@ on:
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
runs-on: runners-privilegedescalation
steps:
- uses: actions/checkout@v4
- uses: renovatebot/github-action@v40.3.0