-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automatically synchronize readme sponsors
- Loading branch information
ThomasAribart
committed
Sep 2, 2024
1 parent
ec117c5
commit 07f45ff
Showing
4 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 💖 Sync README sponsors | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 00 12 1,15 * * | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
sync-readme-sponsors: | ||
name: 💖 Sync README sponsors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ♻️ Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
|
||
- name: 💖 Sync README sponsors | ||
uses: JamesIves/github-sponsors-readme-action@v1.5.0 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
file: README.md | ||
template: <a href="https://github.com/{{ login }}"><img src="https://github.com/{{ login }}.png" width="50px" alt="{{ name }}" title="{{ name }}"/></a> | ||
active-only: false | ||
|
||
- name: 💾 Commit README | ||
uses: EndBug/add-and-commit@v9.1.3 | ||
with: | ||
default_author: github_actions | ||
message: 'Automatically synchronize README sponsors' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters