Skip to content

Add GitHub Sponsors funding configuration#14

Merged
jsirish merged 2 commits intomasterfrom
copilot/add-sponsors-funding-configuration
Nov 11, 2025
Merged

Add GitHub Sponsors funding configuration#14
jsirish merged 2 commits intomasterfrom
copilot/add-sponsors-funding-configuration

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 11, 2025

Adds GitHub Sponsors support across repository touchpoints to enable project funding.

Changes

  • .github/FUNDING.yml - Created with github: [dynamic] to enable Sponsors button in repo header
  • README.md - Added Sponsors badge on CI line, removed codecov badge
  • composer.json - Added funding field after authors section pointing to https://github.com/sponsors/dynamic

Points to @dynamic organization sponsors page. Enables composer fund command support for downstream packages.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add GitHub Sponsors funding configuration</issue_title>
<issue_description># Add GitHub Sponsors Funding Configuration

This issue tracks adding GitHub Sponsors support to make it easier for users to support our open source work.

Tasks

  • Create .github/FUNDING.yml with github: [dynamic]
  • Add GitHub Sponsors badge to README (same line as CI badge)
  • Remove codecov badge if present on CI badge line
  • Add composer funding field to composer.json
  • Disable phpcoverage in CI workflow if it's failing
  • Create PR with all changes

Implementation Details

1. FUNDING.yml

Create .github/FUNDING.yml:

github: [dynamic]

2. README Badge

Add sponsor badge on the same line as CI badge:

[![CI](https://github.com/dynamic/silverstripe-elemental-tabset/actions/workflows/ci.yml/badge.svg)](https://github.com/dynamic/silverstripe-elemental-tabset/actions/workflows/ci.yml) [![Sponsors](https://img.shields.io/badge/GitHub-Sponsors-ff69b4?logo=github)](https://github.com/sponsors/dynamic)

Remove codecov badge if present on that line.

3. Composer Funding

Add to composer.json after the "authors" section:

    "funding": [
        {
            "type": "github",
            "url": "https://github.com/sponsors/dynamic"
        }
    ],

4. CI Workflow (if phpcoverage failing)

If CI has phpcoverage failures, update .github/workflows/ci.yml:

  • Change phpcoverage: true to phpcoverage: false
  • Or remove codecov upload steps if custom workflow

5. PR Details

Create PR with title: "Add GitHub Sponsors funding configuration"

PR body template:

This PR adds GitHub Sponsors support to make it easier for users to support our open source work.

## Changes
- Added `.github/FUNDING.yml` to enable the GitHub Sponsors button in the repository header
- Added GitHub Sponsors badge to README for better visibility
- Added composer funding field for `composer fund` command support
- Points to [@dynamic](https://github.com/sponsors/dynamic) organization sponsors page

## Benefits
- Provides multiple touchpoints for GitHub Sponsors visibility
- Makes it easier for users to support the project
- Aligns with other Dynamic repositories

The badge will appear at the top of the README alongside existing CI/quality badges.

Success Criteria

  • Sponsors button appears in repo header
  • README badge displays correctly on CI line
  • composer fund shows GitHub Sponsors link
  • All CI checks pass
  • PR ready for review

References

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jsirish <1163643+jsirish@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Sponsors funding configuration Add GitHub Sponsors funding configuration Nov 11, 2025
Copilot AI requested a review from jsirish November 11, 2025 03:40
@jsirish jsirish requested a review from Copilot November 11, 2025 03:42
Copy link
Copy Markdown

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 Sponsors support to enable funding for the project through multiple touchpoints. It implements the standard Dynamic organization funding configuration.

  • Created .github/FUNDING.yml with GitHub Sponsors configuration
  • Added Sponsors badge to README and removed codecov badge
  • Added composer funding field for composer fund command support

Reviewed Changes

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

File Description
.github/FUNDING.yml New file enabling GitHub Sponsors button in repository header with github: [dynamic] configuration
README.md Added Sponsors badge to CI badge line and removed codecov badge
composer.json Added funding field after authors section pointing to GitHub Sponsors page

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jsirish jsirish marked this pull request as ready for review November 11, 2025 04:01
@jsirish jsirish merged commit ee0c8a5 into master Nov 11, 2025
6 checks passed
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.

Add GitHub Sponsors funding configuration

3 participants