mirror of
https://github.com/Lissy93/web-check.git
synced 2025-01-08 15:19:16 +01:00
Workflow to insert credits, for contributors and sponsors
This commit is contained in:
parent
6ba75cebf2
commit
273e2539cc
16
.github/README.md
vendored
16
.github/README.md
vendored
@ -837,12 +837,24 @@ But due to the amount of traffic that the hosted instance gets, the lambda funct
|
||||
[![Sponsor Lissy93 on GitHub](https://img.shields.io/badge/Sponsor_on_GitHub-Lissy93-%23ff4dda?style=for-the-badge&logo=githubsponsors&logoColor=ff4dda)](https://github.com/sponsors/Lissy93)
|
||||
|
||||
|
||||
### Contributors
|
||||
|
||||
Credit to the following users for contributing to Web-Check
|
||||
|
||||
<!-- readme: contributors -start -->
|
||||
<!-- readme: contributors -end -->
|
||||
|
||||
### Sponsors
|
||||
|
||||
Huge thanks to these wonderful people, who sponsor me on GitHub, their support helps cover the costs required to keep Web-Check and my other projects free for everyone. Consider joining them, by [sponsoring me on GitHub](https://github.com/sponsors/Lissy93) if you're able.
|
||||
|
||||
<!-- readme: sponsors -start -->
|
||||
<!-- readme: sponsors -end -->
|
||||
|
||||
---
|
||||
|
||||
|
||||
## License
|
||||
|
||||
|
||||
> _**[Lissy93/Web-Check](https://github.com/Lissy93/web-check)** is licensed under [MIT](https://github.com/Lissy93/web-check/blob/HEAD/LICENSE) © [Alicia Sykes](https://aliciasykes.com) 2023._<br>
|
||||
> <sup align="right">For information, see <a href="https://tldrlegal.com/license/mit-license">TLDR Legal > MIT</a></sup>
|
||||
|
||||
|
37
.github/workflows/credits.yml
vendored
Normal file
37
.github/workflows/credits.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
# Inserts list of community members into ./README.md
|
||||
name: 💓 Inserts Contributors & Sponsors
|
||||
on:
|
||||
workflow_dispatch: # Manual dispatch
|
||||
schedule:
|
||||
- cron: '45 1 * * 0' # At 01:45 on Sunday.
|
||||
|
||||
jobs:
|
||||
# Job #1 - Fetches sponsors and inserts table into readme
|
||||
insert-sponsors:
|
||||
runs-on: ubuntu-latest
|
||||
name: Inserts Sponsors 💓
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Updates readme with sponsors
|
||||
uses: JamesIves/github-sponsors-readme-action@1.0.5
|
||||
with:
|
||||
token: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
file: .github/README.md
|
||||
|
||||
# Job #2 - Fetches contributors and inserts table into readme
|
||||
insert-contributors:
|
||||
runs-on: ubuntu-latest
|
||||
name: Inserts Contributors 💓
|
||||
steps:
|
||||
- name: Updates readme with contributors
|
||||
uses: akhilmhdh/contributors-readme-action@v2.3.4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
image_size: 80
|
||||
readme_path: .github/README.md
|
||||
columns_per_row: 6
|
||||
commit_message: 'docs: Updates contributors list'
|
||||
committer_username: liss-bot
|
||||
committer_email: liss-bot@d0h.co
|
Loading…
Reference in New Issue
Block a user