-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub sponsor button via FUNDING.yml #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: sumitduster-iMac <[email protected]>
There was a problem hiding this 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 GitHub sponsor button functionality to the repository by introducing a .github/FUNDING.yml configuration file. The file specifies the repository owner's GitHub username for sponsorship and includes commented templates for alternative funding platforms.
Key Changes:
- Added
.github/FUNDING.ymlwith GitHub sponsorship configuration - Included commented placeholders for 11 alternative funding platforms (Patreon, Ko-fi, Open Collective, etc.)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,14 @@ | |||
| # These are supported funding model platforms | |||
Copilot
AI
Dec 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line has leading whitespace before the comment. GitHub's FUNDING.yml parser expects the content to start at the beginning of the line without leading spaces. This indentation should be removed to ensure proper parsing.
| @@ -0,0 +1,14 @@ | |||
| # These are supported funding model platforms | |||
|
|
|||
| github: [sumitduster-iMac] | |||
Copilot
AI
Dec 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GitHub username contains leading whitespace. This line should start at column 0 without any indentation. The YAML parser may fail or produce unexpected results with this leading whitespace.
| # patreon: # Replace with a single Patreon username | ||
| # open_collective: # Replace with a single Open Collective username | ||
| # ko_fi: # Replace with a single Ko-fi username | ||
| # tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
| # community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
| # liberapay: # Replace with a single Liberapay username | ||
| # issuehunt: # Replace with a single IssueHunt username | ||
| # lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
| # polar: # Replace with a single Polar username | ||
| # buy_me_a_coffee: # Replace with a single Buy Me a Coffee username | ||
| # custom: # Replace with up to 4 custom sponsorship URLs e.g., ['https://www.paypal.me/example', 'https://example.com'] |
Copilot
AI
Dec 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All commented platform configuration lines have leading whitespace. While these are comments and won't cause immediate parsing issues, they should start at column 0 to maintain consistent formatting and avoid issues when these lines are uncommented in the future.
Enables the sponsor button on the repository page by adding GitHub's standard funding configuration.
Changes
.github/FUNDING.ymlwithgithub: [sumitduster-iMac]as the primary sponsor linkActivation
The sponsor button will appear once this is merged. Repository owner can:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Note
Adds GitHub Sponsors configuration to display a Sponsor button on the repository page.
.github/FUNDING.ymlwithgithub: [sumitduster-iMac]Written by Cursor Bugbot for commit 1b3e450. Configure here.