Skip to content

ci: use GitHub-hosted runners for release workflow#1738

Merged
tejaskash merged 1 commit into
mainfrom
fix/release-github-hosted-runners
Jul 10, 2026
Merged

ci: use GitHub-hosted runners for release workflow#1738
tejaskash merged 1 commit into
mainfrom
fix/release-github-hosted-runners

Conversation

@tejaskash

Copy link
Copy Markdown
Contributor

Why

npm publish --provenance requires an OIDC token issued by github.com. Self-hosted CodeBuild runners (codebuild-agentcore-e2e-*) don't issue that token, so provenance publishing fails.

What

Switch all 6 jobs in release-main-and-preview.yml from the self-hosted CodeBuild runner to ubuntu-latest:

  • prepare-release
  • release-approval
  • verify-merge
  • publish-main
  • publish-preview
  • summary

No other changes.

npm provenance requires the OIDC token issuer to be github.com, which
self-hosted CodeBuild runners don't provide. Switch all release jobs to
ubuntu-latest so --provenance publishing works.
@tejaskash tejaskash requested a review from a team July 10, 2026 20:08
@github-actions github-actions Bot added size/xs PR size: XS agentcore-harness-reviewing AgentCore Harness review in progress and removed agentcore-harness-reviewing AgentCore Harness review in progress labels Jul 10, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Jul 10, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Jul 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.24.0.tgz

How to install

gh release download pr-1738-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-0.24.0.tgz

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 39.71% 14734 / 37099
🔵 Statements 38.98% 15705 / 40284
🔵 Functions 33.81% 2510 / 7423
🔵 Branches 33.34% 9839 / 29509
Generated in workflow #4080 for commit 0365108 by the Vitest Coverage Report Action

@tejaskash tejaskash merged commit 06b556f into main Jul 10, 2026
32 of 33 checks passed
@tejaskash tejaskash deleted the fix/release-github-hosted-runners branch July 10, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants