Skip to content

Commit 008e68a

Browse files
authored
docs: sponsors (#811)
* docs: sponsor section * ci: pat env name
1 parent 5ee55c3 commit 008e68a

8 files changed

Lines changed: 544 additions & 1 deletion

File tree

.github/workflows/sponsorkit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Generate sponsors.svg
2+
on:
3+
schedule: [{ cron: "0 2 * * 1" }]
4+
workflow_dispatch:
5+
permissions:
6+
contents: write
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- run: npx sponsorkit
14+
env:
15+
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSOR_PAT }}
16+
SPONSORKIT_GITHUB_LOGIN: loro-dev
17+
- name: Commit SVG
18+
run: |
19+
git config user.name "github-actions[bot]"
20+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
21+
git add sponsors.*
22+
git commit -m "chore: update sponsors.svg" || echo "no changes"
23+
git push

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ coverage/
1111
trace-*.json
1212
.loro
1313
loom_test.json
14+
.env

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ You can find bindings for other programming languages in [loro-ffi](https://gith
150150
- [Introduction to Loro's Rich Text CRDT](https://loro.dev/blog/loro-richtext)
151151
- [Loro: Reimagine State Management with CRDTs](https://loro.dev/blog/loro-now-open-source)
152152

153+
# Sponsors
154+
155+
[![Sponsors](./sponsorkit/sponsors.svg)](https://github.com/sponsors/loro-dev)
156+
153157
# Credits
154158

155159
Loro draws inspiration from the innovative work of the following projects and individuals:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"license": "ISC",
2727
"devDependencies": {
2828
"@changesets/changelog-git": "^0.2.0",
29-
"@changesets/cli": "^2.27.1"
29+
"@changesets/cli": "^2.27.1",
30+
"sponsorkit": "^17.0.0"
3031
}
3132
}

0 commit comments

Comments
 (0)