From 7a2054ec5e2eb214c09472f1970cefd2d5d63bf1 Mon Sep 17 00:00:00 2001 From: sec-check <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Sun, 1 Nov 2026 14:24:23 -0500 Subject: [PATCH] ci: add the reviewed allowlist for the shared pinned-fetches gate Lists every reference the gate reports in this tree that is not a tool this repository downloads: the caller-supplied image under test, Justfile dev-only stream names, the locally built canary harness image, a ref normalisation string, and the SHA-verified selenium-at-spi clone. With it the gate reports only the e2e.yml harness-build and oras fetches, which are tracked in #1091. Refs #1091 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: sec-check <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- .github/pinned-fetches-allowlist.txt | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/pinned-fetches-allowlist.txt diff --git a/.github/pinned-fetches-allowlist.txt b/.github/pinned-fetches-allowlist.txt new file mode 100644 index 000000000..210930040 --- /dev/null +++ b/.github/pinned-fetches-allowlist.txt @@ -0,0 +1,41 @@ +# Pinned-fetches allowlist for projectbluefin/actions reusable-pinned-fetches +# (projectbluefin/utah#902, Option A). +# +# One entry per line. A bare rule id disables that rule; any other line +# suppresses one finding whose printed text contains it. Lines starting with +# '#' are comments. Every entry below is a reviewed non-fetch or a reference +# the suite is handed by its caller, not a tool this repository downloads. + +# The image under test is an input: the caller (an image repository's gate or +# a manual dispatch) chooses the ref, usually a digest, and the suite boots or +# `bootc switch`es the VM to exactly that. The suite verifies the image; it +# does not fetch a tool from it. +inputs.target-image +Full OCI ref to upgrade TO +Pre-stage target image via bootc switch +OCI image to test (e.g. +Full OCI image reference (e.g. +default: "ghcr.io/projectbluefin/bluefin:latest" +Target OCI image to bootc switch to +Run bootc switch to target image +sudo bootc switch '${TARGET_IMAGE}' +bootc switch completed +after bootc switch + reboot + +# Justfile local recipes name the stream a developer wants to run the suite +# against on their own machine; nothing from CI consumes these lines. +"ghcr.io/ublue-os/bluefin:latest" +"ghcr.io/ublue-os/bluefin-dx:latest" +"ghcr.io/ublue-os/bluefin-nvidia:latest" + +# Harness image built in the same job and never pulled from a registry. +localhost/gnomeos-harness:canary + +# String normalisation of a user-supplied ref before a registry query, not a +# download (update-v1-tag.yml). +NAME="${NAME}:latest" + +# Shallow clone immediately followed by `git fetch`/`git checkout` of the +# committed SELENIUM_AT_SPI_SHA and a `git rev-parse HEAD` comparison that +# aborts on mismatch (scripts/install-kde-webdriver.sh). +git clone --quiet --depth 1 "${SELENIUM_AT_SPI_URL}"