From 7ce84142e99a8d406c08e6f8fc35e166a3c8de7b Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 1 Jul 2025 14:19:45 -0700 Subject: [PATCH] Fix auto-promotion permissions - Add 'contents: write' and 'actions: write' permissions to auto-promote workflow - This should fix the 'Resource not accessible by integration' error - Update to v2.0.3 to test the fixed auto-promotion pipeline The auto-promotion workflow needs write permissions to merge branches and trigger other workflows in the repository. --- .github/workflows/auto-promote.yml | 4 ++++ src/index.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-promote.yml b/.github/workflows/auto-promote.yml index 7cd9f9e..971b37c 100644 --- a/.github/workflows/auto-promote.yml +++ b/.github/workflows/auto-promote.yml @@ -7,6 +7,10 @@ on: - completed branches: [ develop ] +permissions: + actions: write + contents: write + jobs: test-and-promote-to-staging: name: Test Dev and Auto-Promote to Staging diff --git a/src/index.html b/src/index.html index d090505..3741234 100644 --- a/src/index.html +++ b/src/index.html @@ -3,7 +3,7 @@ - Knative 2048 v2.0.2 - Canonical Domain Testing 🚀 + Knative 2048 v2.0.3 - Auto-Promotion Fixed �