Skip to content

Commit

Permalink
automatically synchronize README sponsors
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAribart committed Aug 29, 2024
1 parent 3396c19 commit d94355a
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/sync-readme-sponsors.yml
Original file line number Diff line number Diff line change
@@ -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: <td align="center"><a href="https://github.com/{{ login }}"><img src="https://github.com/{{ login }}.png" width="80px" alt="{{ name }}" /></br><span>{{ name }}</span></a></td>

- name: 💾 Commit README
uses: EndBug/[email protected]
with:
default_author: github_actions
message: "Automatically synchronize README sponsors"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<img src="assets/header-round-medium.png" width="100%" align="center" />

<p align="right">
<i>If you use this repo, star it ✨</i>
</p>
💖 _Huge thanks to the [sponsors](https://github.com/sponsors/ThomasAribart) who help me maintain this repo:_

<table align="center"><tbody><tr><td align="center"><a href="https://github.com/theodo"><img src="https://github.com/theodo.png" width="80px" alt="Theodo" /><br/><span>Theodo</span></a></td><!-- sponsors --><!-- sponsors --><td align="center"><a href="https://github.com/sponsors/ThomasAribart"><img src="assets/plus-sign.png" width="55px" alt="Plus sign" /></br>Your Brand</br>Here</a></td></tr></tbody></table>

# Stop typing twice 🙅‍♂️

Expand Down
Binary file added assets/plus-sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@
"url": "https://github.com/ThomasAribart/json-schema-to-ts/issues"
},
"homepage": "https://github.com/ThomasAribart/json-schema-to-ts#readme"
}
}

0 comments on commit d94355a

Please sign in to comment.