diff --git a/.github/workflows/sync-readme-sponsors.yml b/.github/workflows/sync-readme-sponsors.yml new file mode 100644 index 0000000..e3fee06 --- /dev/null +++ b/.github/workflows/sync-readme-sponsors.yml @@ -0,0 +1,29 @@ +name: 💖 Sync README sponsors + +on: + workflow_dispatch: + schedule: + - cron: 00 12 1,15 * * + +permissions: + contents: write + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: ♻️ Checkout + uses: actions/checkout@v3 + + - name: 💖 Sync README sponsors + uses: JamesIves/github-sponsors-readme-action@v1 + with: + token: ${{ secrets.PAT }} + file: README.md + template: {{ name }}
{{ name }}
+ + - name: 💾 Commit README + uses: EndBug/add-and-commit@v9.1.3 + with: + default_author: github_actions + message: "Automatically synchronize README sponsors" diff --git a/README.md b/README.md index bb61695..fdcc975 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -

- If you use this repo, star it ✨ -

+💖 _Huge thanks to the [sponsors](https://github.com/sponsors/ThomasAribart) who help me maintain this repo:_ + +
Theodo
Theodo
Plus sign
Your Brand
Here
# Stop typing twice 🙅‍♂️ diff --git a/assets/plus-sign.png b/assets/plus-sign.png new file mode 100644 index 0000000..ef61b64 Binary files /dev/null and b/assets/plus-sign.png differ diff --git a/package.json b/package.json index 33be429..98aa8a7 100644 --- a/package.json +++ b/package.json @@ -86,4 +86,4 @@ "url": "https://github.com/ThomasAribart/json-schema-to-ts/issues" }, "homepage": "https://github.com/ThomasAribart/json-schema-to-ts#readme" -} \ No newline at end of file +}