Skip to content

Defer publish when pending changesets exist#23

Merged
coffeexcoin merged 2 commits intomainfrom
claude/fix-ci-pipeline-ovWqT
Apr 19, 2026
Merged

Defer publish when pending changesets exist#23
coffeexcoin merged 2 commits intomainfrom
claude/fix-ci-pipeline-ovWqT

Conversation

@coffeexcoin
Copy link
Copy Markdown
Contributor

The Publish to npm job failed with "Resource not accessible by integration"
on https://github.com/Abstract-Foundation/abstract-packages/actions/runs/24617157786/job/71981238538.

Root cause: detect-publishable flagged agw-thirdweb (local 0.0.0, unpublished)
as publishable, so publish.yml ran. But main still carries the unconsumed
changesets that feed the Version Packages PR, so changesets/action entered
its runVersion branch and tried to PATCH the release PR. publish.yml only
grants contents/id-token, not pull-requests, so the update failed.

Gate should_publish on the absence of pending changesets (any .md in
.changeset/ other than README.md). Publish now waits for the Version
Packages PR to merge before running, which is when changesets/action will
see no changesets and take its publish path.

https://claude.ai/code/session_01AraN9Q2Ah4cdnTdLz3TvSm

The Publish to npm job failed with "Resource not accessible by integration"
on https://github.com/Abstract-Foundation/abstract-packages/actions/runs/24617157786/job/71981238538.

Root cause: detect-publishable flagged agw-thirdweb (local 0.0.0, unpublished)
as publishable, so publish.yml ran. But main still carries the unconsumed
changesets that feed the Version Packages PR, so changesets/action entered
its runVersion branch and tried to PATCH the release PR. publish.yml only
grants contents/id-token, not pull-requests, so the update failed.

Gate should_publish on the absence of pending changesets (any .md in
.changeset/ other than README.md). Publish now waits for the Version
Packages PR to merge before running, which is when changesets/action will
see no changesets and take its publish path.

https://claude.ai/code/session_01AraN9Q2Ah4cdnTdLz3TvSm
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
agw-cli Ignored Ignored Preview Apr 19, 2026 1:42am
agw-nextjs Ignored Ignored Preview Apr 19, 2026 1:42am
mpp-demo Ignored Ignored Preview Apr 19, 2026 1:42am

Request Review

@coffeexcoin coffeexcoin merged commit ef683c8 into main Apr 19, 2026
19 checks passed
@coffeexcoin coffeexcoin deleted the claude/fix-ci-pipeline-ovWqT branch April 19, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants