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 32719f6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 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 --><td align="center"><a href="https://github.com/getsentry"><img src="https://github.com/getsentry.png" width="80px" alt="Sentry" /></br><span>Sentry</span></a></td><!-- 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.

0 comments on commit 32719f6

Please sign in to comment.