Skip to content

Commit 3f6229e

Browse files
committed
Add github readme sponsors action and marker in readme to display sponsors.
1 parent e1188f1 commit 3f6229e

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Generate Sponsors README
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: 30 15 * * 0-6
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout 🛎️
13+
uses: actions/checkout@v6
14+
15+
- name: Generate Sponsors 💖
16+
uses: JamesIves/github-sponsors-readme-action@v1
17+
with:
18+
token: ${{ secrets.PAT }}
19+
file: 'README.md'
20+
21+
# ⚠️ Note: You can use any deployment step here to automatically push the README
22+
# changes back to your branch.
23+
- name: Deploy to GitHub Pages 🚀
24+
uses: JamesIves/github-pages-deploy-action@v4
25+
with:
26+
branch: main
27+
folder: '.'

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,7 @@ public struct WrapperList
9898
```
9999

100100
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.
101+
102+
# Sponsors
103+
104+
<!-- sponsors --><!-- sponsors -->

0 commit comments

Comments
 (0)