diff --git a/.github/workflows/pull-requests-release.yaml b/.github/workflows/pull-requests-release.yaml index 1e82175c..7f7c2fcd 100644 --- a/.github/workflows/pull-requests-release.yaml +++ b/.github/workflows/pull-requests-release.yaml @@ -125,8 +125,9 @@ jobs: console.log(`✅ Created branch '${branch}' at ${commitSha}`); } else { console.error('Unexpected error --', err); + core.setFailed(`Unexpected error creating/updating branch: ${err.message}`); + throw err; } - } # Get the latest published release - name: Get the latest published release