Skip to content

Commit b630bf0

Browse files
committed
minor
1 parent 3faaea4 commit b630bf0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Update contributors"
2+
on:
3+
push:
4+
branches: [ master ]
5+
jobs:
6+
update-contributors:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Setup Node.js
11+
uses: actions/setup-node@v3
12+
with:
13+
node-version: '18'
14+
- name: Run all-contributors
15+
run: npx all-contributors-cli generate
16+
- name: Commit updated contributors
17+
run: |
18+
git config user.name "github-actions[bot]"
19+
git config user.email "github-actions[bot]@users.noreply.github.com"
20+
git add README.md
21+
git commit -m "chore: update contributors" || echo "No changes to commit"
22+
git push

0 commit comments

Comments
 (0)