Skip to content

Commit a309077

Browse files
committed
Add Contributors Section to README: Include a new section to acknowledge contributors, auto-generated from GitHub contributors graph, enhancing community recognition.
1 parent dfe6436 commit a309077

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Sync README Contributors
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync-contributors:
10+
if: github.actor != 'github-actions[bot]'
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Update README contributors section
22+
uses: akhilmhdh/contributors-readme-action@v2.3.11
23+
with:
24+
readme_path: README.md
25+
use_username: true
26+
columns_per_row: 6
27+
image_size: 100
28+
committer_username: github-actions[bot]
29+
committer_email: github-actions[bot]@users.noreply.github.com
30+
commit_message: "docs(contributors): update README [skip ci]"
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,17 @@ Anyone preparing for ML/AI engineering interviews at top tech companies, or anyo
340340

341341
---
342342

343+
## 🤝 Contributors
344+
345+
Thanks to everyone who has contributed to TorchCode.
346+
347+
<!-- readme: contributors -start -->
348+
<!-- readme: contributors -end -->
349+
350+
Auto-generated from the [GitHub contributors graph](https://github.com/duoan/TorchCode/graphs/contributors) with avatars and GitHub usernames.
351+
352+
---
353+
343354
<div align="center">
344355

345356
**Built for engineers who want to deeply understand what they build.**

0 commit comments

Comments
 (0)