From 784dc69f1e14aacdfea9ae5473160b8eb268d039 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Jun 2026 17:02:06 +0000 Subject: [PATCH] Harden release permission error detection in scheduled build --- .github/workflows/scheduled-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scheduled-build.yml b/.github/workflows/scheduled-build.yml index 4034282..12cfff7 100644 --- a/.github/workflows/scheduled-build.yml +++ b/.github/workflows/scheduled-build.yml @@ -153,7 +153,7 @@ jobs: set -e if [ ${GH_RELEASE_EXIT_CODE} -ne 0 ]; then - if echo "${GH_RELEASE_OUTPUT}" | grep -q "HTTP 403: Resource not accessible by integration"; then + if echo "${GH_RELEASE_OUTPUT}" | grep -Eq "HTTP 403|Resource not accessible by integration"; then echo "::warning::Skipping GitHub release creation for ${{ steps.release.outputs.next_tag }} because the workflow token cannot create releases." else echo "${GH_RELEASE_OUTPUT}" >&2