feat: update sponsors script and how this works for more consistency#10582
Merged
jasonsaayman merged 1 commit intov1.xfrom Mar 30, 2026
Merged
feat: update sponsors script and how this works for more consistency#10582jasonsaayman merged 1 commit intov1.xfrom
jasonsaayman merged 1 commit intov1.xfrom
Conversation
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 by cubic
Make the sponsors update more consistent by using a single script and only creating PRs when the tracked
README.mdactually changes. This reduces noisy automated PRs and simplifies the workflow.Description
scripts/sponsors/update-readme-sponsors.mjsand gates all follow-up steps onchangedandreadme_changed.readme_changedusinggit diff --quiet -- README.md.changedviaGITHUB_OUTPUT, removes shellexecand colorized logs, updates axios import path, and writes./temp/sponsors.md..gitignore: addsopenspec/.<!--<div>marker</div>-->inREADME.mdfor injection.peter-evans/create-pull-request@v8only when both flags are true.Docs
./bin/sponsors.jstoscripts/sponsors/update-readme-sponsors.mjs.node scripts/sponsors/update-readme-sponsors.mjs(marker required; writes to./temp/sponsors.md;GITHUB_OUTPUTnot required locally).Testing
updateReadmeSponsors(marker present/missing, changed vs up-to-date). CI behavior can be verified by a workflow run where README doesn’t change to ensure the PR step is skipped.Written for commit 54e7556. Summary will update on new commits.