From 95a82321eef999efc5fee1e429aab18adc9e60f2 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Tue, 3 Feb 2026 09:33:47 -0800 Subject: [PATCH] Add authentication and error logging to release creation - Add Authorization header using GITHUB_TOKEN - Remove silent fail flag to see error responses - Log API responses for debugging Co-Authored-By: Claude Opus 4.5 --- .forgejo/workflows/build-blumeops.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build-blumeops.yaml b/.forgejo/workflows/build-blumeops.yaml index e2c7118..e2bd2bc 100644 --- a/.forgejo/workflows/build-blumeops.yaml +++ b/.forgejo/workflows/build-blumeops.yaml @@ -104,13 +104,15 @@ jobs: ls -lh "$GITHUB_WORKSPACE/$TARBALL" - name: Create release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | VERSION="${{ steps.version.outputs.version }}" TARBALL="docs-${VERSION}.tar.gz" echo "Creating release $VERSION..." - # Use Forgejo API to create release + # Use Forgejo API to create release (requires authentication) RELEASE_DATA=$(cat <