Skip to content

Commit ae680fa

Browse files
author
hywax
committed
ci: contributor credits plan
1 parent 4e20c74 commit ae680fa

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/credits.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Contributor Credits
2+
3+
on:
4+
schedule:
5+
- cron: '0 1 * * 0' # At 01:00 on Sunday.
6+
workflow_dispatch:
7+
8+
jobs:
9+
contributors:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Update Contributors
13+
uses: wow-actions/contributors-list@v1
14+
with:
15+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
16+
svgPath: docs/public/contributors.svg
17+
affiliation: all
18+
includeBots: false
19+
excludeUsers: hywax-assistant
20+
avatarSize: 96
21+
userNameHeight: 20
22+
svgWidth: 830
23+
24+
authors:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0
31+
- name: Update Authors
32+
uses: wow-actions/update-authors@v1
33+
with:
34+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
35+
sort: 'commits'
36+
path: .github/AUTHORS.txt
37+
template: '{{ name }} <{{ email }}> - commits'
38+
commit: 'chore: update AUTHORS'

0 commit comments

Comments
 (0)