From 96147bc11acfc547f51c4298db6a6301d08aaaa6 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 11 May 2022 23:11:24 +1000 Subject: [PATCH] add sponsors thingo --- .github/workflows/sponsors.yml | 27 +++++++++++++++++++++++++++ README.md | 10 ++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/sponsors.yml diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml new file mode 100644 index 000000000..0fa25803b --- /dev/null +++ b/.github/workflows/sponsors.yml @@ -0,0 +1,27 @@ +# see https://github.com/JamesIves/github-sponsors-readme-action +name: Generate Sponsors README +on: + push: + branches: + - master +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v2 + + - name: Generate Sponsors 💖 + uses: JamesIves/github-sponsors-readme-action@v1.0.8 + with: + token: ${{ secrets.SPONSORS_TOKEN }} + file: 'README.md' + + - name: Commit and push if changed + run: |- + git diff + git config --global user.email "actions@users.noreply.github.com" + git config --global user.name "README-bot" + git add README.md + git commit -m "Updated README.md" || exit 0 + git push diff --git a/README.md b/README.md index 64a6c4afd..29c927644 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,16 @@ If you're a mere mortal like me and you're tired of hearing how powerful git is ![Gif](../assets/staging.gif) +## Sponsors + +

+ Maintainence of this project is made possible by all the contributors and sponsors. If you'd like to sponsor this project and have your avatar or company logo appear below click here. 💙 +

+ +

+ +

+ ## Table of contents - [Installation](#installation)