From 3f6229e8aa5213e551ffb87016bcd446cf314486 Mon Sep 17 00:00:00 2001 From: CodingFlow <3643313+CodingFlow@users.noreply.github.com> Date: Wed, 4 Feb 2026 19:33:03 -0500 Subject: [PATCH] Add github readme sponsors action and marker in readme to display sponsors. --- .github/workflows/readme-sponsors.yml | 27 +++++++++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/readme-sponsors.yml diff --git a/.github/workflows/readme-sponsors.yml b/.github/workflows/readme-sponsors.yml new file mode 100644 index 0000000..af645b6 --- /dev/null +++ b/.github/workflows/readme-sponsors.yml @@ -0,0 +1,27 @@ +name: Generate Sponsors README +on: + workflow_dispatch: + schedule: + - cron: 30 15 * * 0-6 +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v6 + + - name: Generate Sponsors 💖 + uses: JamesIves/github-sponsors-readme-action@v1 + with: + token: ${{ secrets.PAT }} + file: 'README.md' + + # ⚠️ Note: You can use any deployment step here to automatically push the README + # changes back to your branch. + - name: Deploy to GitHub Pages 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: main + folder: '.' \ No newline at end of file diff --git a/README.md b/README.md index c78b639..c90584f 100644 --- a/README.md +++ b/README.md @@ -98,3 +98,7 @@ public struct WrapperList ``` In this case, it will generate a class for `IDynamoDBContext` called `DynamoDBContextDecorator`. This feature will also work for your own interfaces if you prefer this approach instead of using the attribute. + +# Sponsors + + \ No newline at end of file