From 53686f4adb00de48cb9c7dd18c288cf567e34d58 Mon Sep 17 00:00:00 2001 From: Max Parke Date: Wed, 17 Jun 2026 15:08:35 -0400 Subject: [PATCH] ci: run release-please via CLI instead of the googleapis action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The googleapis/release-please-action isn't on the org Actions allow-list, so the release-please workflow added in #321 failed at startup (no release PR cut). Run the release-please CLI under actions/setup-node (allow-listed) instead — same manifest-mode behavior (release-pr + github-release), no third-party action. Verified the CLI commands/flags against release-please@16. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/release-please.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 7ad80591..83a59b38 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,7 +1,7 @@ name: release-please -# Cuts versioned contract-checkpoint releases (tag + GitHub release + CHANGELOG) -# from conventional commits. These are contract snapshots, NOT a deploy gate. +# Versioned contract-checkpoint releases (tag + GitHub release + CHANGELOG) from +# conventional commits — NOT a deploy gate. Uses the CLI (org blocks the action). on: push: @@ -12,13 +12,27 @@ on: permissions: contents: write pull-requests: write + issues: write # release-please labels release PRs (autorelease:*) via the Issues API jobs: release-please: if: github.repository == 'scaleapi/scale-agentex' runs-on: ubuntu-latest steps: - - uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1 + - uses: actions/setup-node@v4 with: - config-file: release-please-config.json - manifest-file: .release-please-manifest.json + node-version: "20" + - name: Release PR + GitHub release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + npx --yes release-please@16 release-pr \ + --token="$GITHUB_TOKEN" \ + --repo-url="${{ github.repository }}" \ + --config-file=release-please-config.json \ + --manifest-file=.release-please-manifest.json + npx --yes release-please@16 github-release \ + --token="$GITHUB_TOKEN" \ + --repo-url="${{ github.repository }}" \ + --config-file=release-please-config.json \ + --manifest-file=.release-please-manifest.json