fix(developer-hub): fix update-llms-txt workflow failures#3496
Merged
fix(developer-hub): fix update-llms-txt workflow failures#3496
Conversation
…d empty diffs Skip fork PRs since the workflow can't push commits back to fork branches. Remove `grep -v '^$'` from the dedup pipeline to avoid exit code 1 when no .mdx files are changed (e.g. JSON-only PRs). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Restrict the update-llms-txt workflow path filter from `**` to `**/*.mdx` so it only triggers when documentation files change, not JSON or other files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tejasbadadare
approved these changes
Feb 23, 2026
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
github.event.pull_request.head.repo.full_name == github.repositorycheck so the workflow doesn't run on fork PRs (it can't push commits back to fork branches, causing checkout failures — see PR docs(developer-hub): add Sui integration guide for Pyth Pro/Lazer #3495)grep -v '^$'from the dedup pipeline — underset -eo pipefail, grep returns exit code 1 on empty input, killing the workflow when no.mdxfiles are changed (see PR Update solana-mainnet.json #3493).sort -uandxargsalready handle empty lines.Test plan
AFFECTEDno longer causes exit code 1🤖 Generated with Claude Code