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/add-and-commit@v9.1.3
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.