[TW-7437] fix(ci): replace removed cloudflare/pages-action with wrangler-action - #489
Merged
Merged
Conversation
…ler-action - replace cloudflare/pages-action@v1 with cloudflare/wrangler-action pinned to the v4.1.3 commit SHA - deploy with `wrangler pages deploy site` using the same project name and branch - point the sdk-reference environment URL at the new deployment-url output Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pengfeiye
approved these changes
Sep 30, 2026
3 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
docsjob insdk-reference.ymlfails on every PR and every push tomainwithUnable to resolve action cloudflare/pages-action, not found. Cloudflare has removed that repo (the GitHub API returns 404) after deprecating it in favour ofcloudflare/wrangler-action. The workflow hasn't changed since v6.0.0 and last passed onmainon 2026-08-28. This PR switches the deploy step to the supported action.Changes
cloudflare/pages-action@v1withcloudflare/wrangler-action, pinned to the v4.1.3 commit SHA (953926a…) instead of a moving tag. A moving tag is how this broke without warning.pages deploy site --project-name=nylas-python-sdk-reference --branch=${{ env.CLOUDFLARE_BRANCH }}: the same project, directory and branch as before.sdk-referenceenvironment URL fromoutputs.urltooutputs.deployment-url, which is the new action's name for it.wranglerVersion: "3", so the action uses its default Wrangler 4.CLOUDFLARE_BRANCHcan't be set by a PR author: it's the PR number (fromrefs/pull/<n>/merge) ormain. So putting it intocommandisn't an injection risk.Testing
docscheck on this PR resolves the action, builds and deploys a preview (CI on this PR is the test)mainpush deploys to the production branchRelated
docscheck on [CUST-5735] feat(messages): add send_raw_mime for raw MIME message send #488nylas-nodejshas the same problem insdk-reference.yaml(follow-up)🤖 Generated with Claude Code