Skip to content

Commit 70d3124

Browse files
ci: run release-please via CLI instead of the googleapis action
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 <noreply@anthropic.com>
1 parent a51ed7a commit 70d3124

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: release-please
22

3-
# Cuts versioned contract-checkpoint releases (tag + GitHub release + CHANGELOG)
4-
# from conventional commits. These are contract snapshots, NOT a deploy gate.
3+
# Versioned contract-checkpoint releases (tag + GitHub release + CHANGELOG) from
4+
# conventional commitsNOT a deploy gate. Uses the CLI (org blocks the action).
55

66
on:
77
push:
@@ -18,7 +18,20 @@ jobs:
1818
if: github.repository == 'scaleapi/scale-agentex'
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1
21+
- uses: actions/setup-node@v4
2222
with:
23-
config-file: release-please-config.json
24-
manifest-file: .release-please-manifest.json
23+
node-version: "20"
24+
- name: Release PR + GitHub release
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
npx --yes release-please@16 release-pr \
29+
--token="$GITHUB_TOKEN" \
30+
--repo-url="${{ github.repository }}" \
31+
--config-file=release-please-config.json \
32+
--manifest-file=.release-please-manifest.json
33+
npx --yes release-please@16 github-release \
34+
--token="$GITHUB_TOKEN" \
35+
--repo-url="${{ github.repository }}" \
36+
--config-file=release-please-config.json \
37+
--manifest-file=.release-please-manifest.json

0 commit comments

Comments
 (0)