Skip to content

Commit 4ec5ca7

Browse files
committed
feat(ci): add contributors workflow with PAT support
1 parent ad5f37d commit 4ec5ca7

2 files changed

Lines changed: 23 additions & 3 deletions

File tree

.github/workflows/contributors.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Update Contributors
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *' # Run daily at midnight UTC
6+
workflow_dispatch: # Allow manual trigger
7+
8+
jobs:
9+
contributors:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Update contributors
15+
uses: akhilmhdh/contributors-readme-action@v2.3.2
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}
18+
with:
19+
image_size: 64
20+
columns_per_row: 8
21+
commit_message: 'docs: update contributors [skip ci]'

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ Looking for something to work on? Check out [good first issues](https://github.c
114114

115115
## 👥 Contributors
116116

117-
<a href="https://github.com/dtvem/dtvem/graphs/contributors">
118-
<img src="https://contrib.rocks/image?repo=dtvem/dtvem" />
119-
</a>
117+
<!-- readme: contributors -start -->
118+
<!-- readme: contributors -end -->
120119

121120
## 📄 License
122121

0 commit comments

Comments
 (0)