Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 30, 2025

Enables the sponsor button on the repository page by adding GitHub's standard funding configuration.

Changes

  • Added .github/FUNDING.yml with github: [sumitduster-iMac] as the primary sponsor link
  • Included commented templates for alternative platforms (Patreon, Ko-fi, Open Collective, etc.) for future configuration

Activation

The sponsor button will appear once this is merged. Repository owner can:

  • Enable GitHub Sponsors at https://github.com/sponsors, or
  • Configure alternative platforms by uncommenting the relevant lines in FUNDING.yml
Original prompt

Add sponsor button in github


✨ 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.

  • Introduces .github/FUNDING.yml with github: [sumitduster-iMac]
  • Includes commented templates for additional platforms (Patreon, Ko-fi, Open Collective, etc.) for future use

Written by Cursor Bugbot for commit 1b3e450. Configure here.

Copilot AI changed the title [WIP] Add sponsor button in GitHub Add GitHub sponsor button via FUNDING.yml Dec 30, 2025
@sumitduster-iMac sumitduster-iMac marked this pull request as ready for review December 30, 2025 10:09
Copilot AI review requested due to automatic review settings December 30, 2025 10:09
@sumitduster-iMac sumitduster-iMac merged commit 9015487 into main Dec 30, 2025
3 of 5 checks passed
Copy link

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 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.yml with 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
Copy link

Copilot AI Dec 30, 2025

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.

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,14 @@
# These are supported funding model platforms

github: [sumitduster-iMac]
Copy link

Copilot AI Dec 30, 2025

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.

Copilot uses AI. Check for mistakes.
Comment on lines +4 to +14
# 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']
Copy link

Copilot AI Dec 30, 2025

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.

Copilot uses AI. Check for mistakes.
@sumitduster-iMac sumitduster-iMac deleted the copilot/add-sponsor-button branch December 30, 2025 10:46
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