Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Delegate candidate artifact read permission

rcourtman67d7a1b454bc
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index a86ca3d5e5..c57a3a0e1e 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -216,6 +216,7 @@ jobs:
needs: prepare
if: ${{ needs.prepare.outputs.historical_asset_backfill_only != 'true' }}
permissions:
+ actions: read
contents: read
uses: ./.github/workflows/build-release-candidate.yml
secrets: inherit
diff --git a/.github/workflows/release-dry-run.yml b/.github/workflows/release-dry-run.yml
index 51fd57bfa0..fce39b1225 100644
--- a/.github/workflows/release-dry-run.yml
+++ b/.github/workflows/release-dry-run.yml
@@ -63,6 +63,7 @@ jobs:
name: Build Immutable Release Candidate
if: ${{ inputs.version != '' }}
permissions:
+ actions: read
contents: read
uses: ./.github/workflows/build-release-candidate.yml
secrets: inherit
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index b6900c9951..0de3779a66 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -1031,6 +1031,10 @@ evidence beside the candidate manifest. Release Dry Run now has a terminal
verdict covering the signed candidate and no-mutation demo lane. The gate stays
blocked until the external SignPath project is configured and one stable dry
run passes for an exact `main` SHA.
+Every caller of the reusable release-candidate builder must delegate
+`actions: read` alongside `contents: read`; the Windows signing job reads the
+exact uploaded artifact through the GitHub Actions API, and GitHub validates
+that nested permission even when a prerelease skips Authenticode signing.
The provider MSP proof command validates its handoff target with the same
host-local redirect contract as runtime token minting and exchange. Proof input
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index ea3885795f..68d6ecabe3 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -489,6 +489,16 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("require_macos_signing: true", workflow)
self.assertIn("require_windows_signing: ${{ !contains(inputs.version, '-') }}", workflow)
self.assertIn("windows_signing_backend: signpath", workflow)
+ self.assertRegex(
+ workflow,
+ r"(?ms)^ build_release_candidate:\n.*?^ permissions:\n"
+ r" actions: read\n contents: read\n uses: \.\/\.github\/workflows\/build-release-candidate\.yml$",
+ )
+ self.assertRegex(
+ release_workflow,
+ r"(?ms)^ build_release_candidate:\n.*?^ permissions:\n"
+ r" actions: read\n contents: read\n uses: \.\/\.github\/workflows\/build-release-candidate\.yml$",
+ )
self.assertIn("Definitive Dry-Run Verdict", workflow)
self.assertIn('require_result "exact-SHA signed candidate" "$CANDIDATE_RESULT" success', workflow)
self.assertIn('require_result "stable demo no-mutation verification" "$DEMO_RESULT" success', workflow)