Clarify permission error condition in scheduled build

This commit is contained in:
copilot-swe-agent[bot]
2026-06-02 10:09:00 -07:00
committed by Jeshua Ben Joseph
parent ea94d20ef3
commit 9ff063bf6d
+1 -1
View File
@@ -153,7 +153,7 @@ jobs:
set -e
if [ "${GH_RELEASE_EXIT_CODE}" -ne 0 ]; then
if [ "${GH_RELEASE_EXIT_CODE}" -eq 4 ] || echo "${GH_RELEASE_OUTPUT}" | grep -Eq "HTTP 403|Resource not accessible by integration"; then
if [ "${GH_RELEASE_EXIT_CODE}" -eq 4 ] || (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