Skip to content

Conversation

@dslovinsky
Copy link
Collaborator

@dslovinsky dslovinsky commented Jan 24, 2026

When MDX files in docs/pages are modified, call the docs-site revalidation API to invalidate the cache. This ensures content changes are reflected without waiting for a full re-deploy.

Asana task

Pull Request Checklist


PR-Codex overview

This PR introduces a GitHub Actions workflow named Revalidate SDK Content, which triggers on pushes to the main branch affecting specific Markdown files. It checks for changed files, prepares a JSON payload, and calls an API for revalidation.

Detailed summary

  • Added a new workflow file: .github/workflows/revalidate-sdk-content.yml
  • Triggered on pushes to main for changes in docs/pages/**/*.md and docs/pages/**/*.mdx
  • Job to revalidate changed pages with steps for:
    • Checking out the repository
    • Identifying changed MDX files
    • Preparing a JSON payload for the revalidation API
    • Calling the revalidation API and handling responses

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

When MDX files in docs/pages are modified, call the docs-site
revalidation API to invalidate the cache. This ensures content
changes are reflected without waiting for a full re-index.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings January 24, 2026 00:18
@vercel
Copy link

vercel bot commented Jan 24, 2026

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

Project Deployment Review Updated (UTC)
aa-sdk-ui-demo Ready Ready Preview, Comment Jan 24, 2026 2:58am

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a GitHub Actions workflow to automatically revalidate SDK documentation content when MDX files are modified. When changes are pushed to the main branch that affect documentation files in docs/pages/, the workflow triggers an API call to invalidate the documentation site's cache, ensuring content updates are reflected immediately without requiring a full redeployment.

Changes:

  • Added a new GitHub Actions workflow that triggers on pushes to main when .md or .mdx files in docs/pages/ are modified
  • Workflow identifies changed files, transforms their paths from docs/ to wallets/ prefix to match the docs site's indexing structure, and calls a revalidation API endpoint
  • Updated the docs-site submodule reference

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/revalidate-sdk-content.yml New workflow file implementing automatic cache revalidation for changed documentation files
docs-site Submodule commit reference update

@github-actions
Copy link

github-actions bot commented Jan 24, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jan 24, 2026, 12:46 AM

@github-actions github-actions bot temporarily deployed to docs-preview January 24, 2026 00:19 Inactive
@dslovinsky dslovinsky enabled auto-merge (squash) January 24, 2026 00:27
@dslovinsky dslovinsky merged commit eca7041 into main Jan 24, 2026
14 checks passed
@dslovinsky dslovinsky deleted the ds/revalidate-sdk branch January 24, 2026 02:58
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