mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
docs: use manual sponsor list instead of workflow
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
name: Update Sponsors
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run daily at 00:00 UTC
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch: # Allow manual trigger
|
||||
sponsorship:
|
||||
types: [created, cancelled, edited, tier_changed, pending_cancellation, pending_tier_change]
|
||||
|
||||
jobs:
|
||||
sponsors:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Update Sponsors
|
||||
uses: JamesIves/github-sponsors-readme-action@v1
|
||||
with:
|
||||
token: ${{ secrets.SPONSORS_TOKEN }}
|
||||
file: 'README.md'
|
||||
organization: true
|
||||
active-only: true
|
||||
|
||||
- name: Commit and Push
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add README.md
|
||||
git diff --staged --quiet || git commit -m "docs: update sponsors"
|
||||
git push
|
||||
@@ -492,8 +492,7 @@ All contributions are tracked on GitHub. When NOFX generates revenue, contributo
|
||||
|
||||
Thanks to all our sponsors!
|
||||
|
||||
<!-- sponsors -->
|
||||
<!-- sponsors -->
|
||||
<a href="https://github.com/cat9999aaa"><img src="https://github.com/cat9999aaa.png" width="60" height="60" style="border-radius:50%" alt="cat9999aaa" /></a>
|
||||
|
||||
[Become a sponsor](https://github.com/sponsors/NoFxAiOS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user