Skip to content

Commit 7aefc35

Browse files
funding: enable only ko-fi in funding.yml (#3)
1 parent 59956da commit 7aefc35

3 files changed

Lines changed: 41 additions & 18 deletions

File tree

.github/FUNDING.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
# GitHub will automatically render the Sponsor button using these links.
2-
# Replace the placeholders with your actual handles/URLs when ready.
1+
github: []
32

4-
# Example: github: onspec-solutions # (GitHub Sponsors handle, if enabled)
5-
github: [] # leave empty if not using GitHub Sponsors yet
6-
7-
# Open Collective, Ko-fi, Patreon, custom Stripe, or any other donation URL
8-
# You can list multiple links; they'll all appear under the Sponsor button.
93
custom:
10-
- "https://opencollective.com/REPLACE_WITH_YOUR_COLLECTIVE"
11-
- "https://github.com/REPO_OWNER/REPO_NAME#funding" # fallback to README section
12-
# - "https://ko-fi.com/REPLACE"
13-
# - "https://buy.stripe.com/REPLACE"
14-
# - "https://patreon.com/REPLACE"
4+
- "https://ko-fi.com/jeffreyonspec"

.github/workflows/auto-approve.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Auto-approve (maintainer only)
2+
3+
on:
4+
pull_request:
5+
types: [labeled]
6+
7+
jobs:
8+
approve:
9+
if: >
10+
github.event.label.name == 'auto-approve' &&
11+
github.event.pull_request.user.login == 'jeffrey-onspec'
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: write
15+
contents: read
16+
steps:
17+
- name: Approve via bot
18+
env:
19+
GH_TOKEN: ${{ secrets.APPROVER_BOT_TOKEN }}
20+
OWNER: ${{ github.repository_owner }}
21+
REPO: ${{ github.event.repository.name }}
22+
PR: ${{ github.event.pull_request.number }}
23+
run: |
24+
curl -sSL -X POST \
25+
-H "Authorization: token $GH_TOKEN" \
26+
-H "Accept: application/vnd.github+json" \
27+
https://api.github.com/repos/$OWNER/$REPO/pulls/$PR/reviews \
28+
-d '{"event":"APPROVE","body":"Automated approval by Approver Bot (on maintainer label)."}'

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
[![Security Policy](https://img.shields.io/badge/Security-Policy-blue.svg)](SECURITY.md)
55
[![Code of Conduct](https://img.shields.io/badge/Code%20of%20Conduct-Contributor%20Covenant-ff69b4.svg)](CODE_OF_CONDUCT.md)
66
[![Funding](https://img.shields.io/badge/Funding-Donate-orange.svg)](#funding)
7-
[![Sponsor](https://img.shields.io/badge/sponsor-❤-pink)](https://github.com/sponsors/yourusername)
87
[![Build](https://github.com/OnSpec-Solutions/HostBridge/actions/workflows/ci.yml/badge.svg)](https://github.com/OnSpec-Solutions/HostBridge/actions/workflows/ci.yml)
98
<!-- Optional (uncomment when enabled)
9+
[![Sponsor](https://img.shields.io/badge/sponsor-❤-pink)](https://github.com/sponsors/yourusername)
1010
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/OnSpec-Solutions/HostBridge/badge)](https://securityscorecards.dev/viewer/?uri=github.com/OnSpec-Solutions/HostBridge)
1111
-->
1212

@@ -291,10 +291,15 @@ Contact: [community@onspec.solutions](mailto:community@onspec.solutions)
291291
292292
## Funding
293293
294-
Free forever, no paywall.
294+
💡 **HostBridge is free forever — no paywalls, no feature gates.**
295295
296-
* GitHub Sponsors
297-
* Open Collective (add link)
298-
* Other links (Stripe/Ko-fi/Patreon)
296+
If it saved you a late night, helped squash a `NullReferenceException`, or just kept your legacy app sane, you can:
297+
298+
<!--
299+
- ⭐ [Sponsor on GitHub](https://github.com/sponsors/jeffrey-onspec) (recurring support)
300+
-->
301+
- ☕ [Buy a coffee on Ko-fi](https://ko-fi.com/yourhandle) (one-time thank-you)
302+
- (Future) Sponsor on GitHub (recurring support)
303+
- (Future) Open Collective for transparent budgets once we hit traction
299304
300-
**Bucket is full rule:** funding capped at published goal.
305+
**Bucket is full rule:** when current goals are met, we pause donations until the next plan is posted.

0 commit comments

Comments
 (0)