Skip to content

Commit e714a4e

Browse files
devantlerclaude
andauthored
refactor(release): cut marketplace releases with release-please (#708)
Replace the custom preparation, proposal and publication workflows and their scripts with release-please (#705, part 1 of 2). One root package bumps .metadata.version in both marketplace manifests through a reviewable release PR opened with the App token; merging it tags vX.Y.Z and publishes the GitHub release with the workflow token. Per-plugin version and changelog gates are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 84adef2 commit e714a4e

42 files changed

Lines changed: 169 additions & 4344 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yaml‎

Lines changed: 1 addition & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -169,81 +169,6 @@ jobs:
169169
- name: 🧪 Verify signed skill metadata publication
170170
run: bash scripts/publish-skill-metadata.test.sh
171171

172-
test-marketplace:
173-
name: Test marketplace automation
174-
runs-on: ubuntu-latest
175-
permissions:
176-
contents: read
177-
steps:
178-
- name: 📄 Checkout
179-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
180-
with:
181-
persist-credentials: false
182-
183-
- name: 🔧 Set up Node.js
184-
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
185-
with:
186-
node-version: "24"
187-
188-
- name: 📦 Install the locked Markdown parser
189-
run: npm ci --ignore-scripts --no-audit --no-fund
190-
191-
- name: 🔧 Set up the minimum supported Go toolchain
192-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
193-
with:
194-
go-version: "1.22.12"
195-
cache: false
196-
197-
- name: 🧪 Verify marketplace caller checkout isolation
198-
run: bash scripts/marketplace-caller-context.test.sh
199-
200-
- name: 🧪 Self-test marketplace release preparation
201-
run: bash scripts/prepare-marketplace-release.test.sh
202-
203-
- name: 🧪 Verify original release observations and reserved output writes
204-
run: bash scripts/release-observation-boundaries.test.sh
205-
206-
- name: 🧪 Self-test marketplace release verification
207-
run: bash scripts/verify-marketplace-release.test.sh
208-
209-
- name: 🧪 Self-test historical marketplace inspection
210-
run: bash scripts/inspect-marketplace-release.test.sh
211-
212-
- name: 🧪 Self-test complete marketplace observations
213-
run: bash scripts/marketplace-observation-completeness.test.sh
214-
215-
- name: 🧪 Self-test marketplace version proposals
216-
run: bash scripts/check-marketplace-version.test.sh
217-
218-
- name: 🧪 Self-test remote marketplace release assessment
219-
run: bash scripts/check-marketplace-release-remote.test.sh
220-
221-
- name: 🧪 Self-test marketplace publication
222-
run: bash scripts/publish-marketplace-release.test.sh
223-
224-
- name: 🧪 Self-test merged marketplace preparation and exact main CI
225-
run: bash scripts/prepare-merged-marketplace-release.test.sh
226-
227-
- name: 🧪 Self-test marketplace workflow authorization branches
228-
run: bash scripts/marketplace-publication-workflow.test.sh
229-
230-
- name: 🧪 Self-test marketplace publication checkout identity
231-
run: bash scripts/marketplace-publication-identity.test.sh
232-
233-
- name: 🧪 Self-test create-only marketplace proposals
234-
run: bash scripts/propose-marketplace-release.test.sh
235-
236-
- name: 🧪 Self-test marketplace proposal workflow boundaries
237-
run: bash scripts/marketplace-proposal-workflow.test.sh
238-
239-
- name: Verify the native Actions proposal identity
240-
env:
241-
GH_TOKEN: ${{ github.token }}
242-
run: |
243-
gh api graphql --hostname github.com -f query='query { viewer { login } }' > "$RUNNER_TEMP/native-proposal-identity.json"
244-
jq '{login: .data.viewer.login}' "$RUNNER_TEMP/native-proposal-identity.json"
245-
jq -e '.data.viewer.login == "github-actions[bot]"' "$RUNNER_TEMP/native-proposal-identity.json"
246-
247172
test-packages:
248173
name: Test packaged resources
249174
runs-on: ubuntu-latest
@@ -411,15 +336,6 @@ jobs:
411336
./scripts/check-plugin-version-bump.sh "$BASE_SHA" HEAD
412337
bash scripts/plugin-changelog.sh check "$BASE_SHA" HEAD
413338
414-
- name: 🔢 Verify the marketplace version proposal
415-
# A published tag occupies the version, so this prepublication gate belongs
416-
# to PRs only. Use the actual head, never GitHub's synthetic merge commit.
417-
if: github.event_name == 'pull_request'
418-
env:
419-
BASE_SHA: ${{ github.event.pull_request.base.sha }}
420-
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
421-
run: bash scripts/check-marketplace-version.sh "$BASE_SHA" "$HEAD_SHA"
422-
423339
check-bundled-skill-edits:
424340
name: Check bundled skill edits
425341
runs-on: ubuntu-latest
@@ -598,7 +514,7 @@ jobs:
598514
permissions:
599515
actions: read
600516
timeout-minutes: 5
601-
needs: [retired-repo-links, validate-manifests, lint-scripts, test-marketplace, test-packages, check-version-bump, check-bundled-skill-edits, validate-spec]
517+
needs: [retired-repo-links, validate-manifests, lint-scripts, test-packages, check-version-bump, check-bundled-skill-edits, validate-spec]
602518
if: ${{ always() }}
603519
steps:
604520
- uses: devantler-tech/.github/actions/aggregate-job-checks@da5f0839b418626a8a0b69df1f04ba931a38e371 # v19.1.0
@@ -608,7 +524,6 @@ jobs:
608524
${{ needs.retired-repo-links.result }}
609525
${{ needs.validate-manifests.result }}
610526
${{ needs.lint-scripts.result }}
611-
${{ needs.test-marketplace.result }}
612527
${{ needs.test-packages.result }}
613528
${{ needs.check-version-bump.result }}
614529
${{ needs.check-bundled-skill-edits.result }}

‎.github/workflows/prepare-marketplace-release.yaml‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎.github/workflows/propose-marketplace-release.yaml‎

Lines changed: 0 additions & 103 deletions
This file was deleted.

‎.github/workflows/publish-marketplace-release.yaml‎

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)