-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathGit_Add_Contributor
More file actions
40 lines (31 loc) · 1014 Bytes
/
Git_Add_Contributor
File metadata and controls
40 lines (31 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contribute and Community
## Contributors(github-action)
-ction 설정에 따라 Push/PR, 주기적으로 Contributor에 대해 svg 파일로 이미지를 생성해줍니다.
이를 README 같은 페이지에 이미지로 추가해두면 아래와 같이 README에 동적인 Contributor 를 만들 수 있습니다.
참고] https://github.com/BobAnkh/add-contributors
참고] https://github.com/marketplace/actions/contributors-list
```
name: Add contributors
on:
schedule:
- cron: '* * * * *' #분 시 일 월 요일
push:
branches:
- master
jobs:
add-contributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: BobAnkh/add-contributors@master
with:
CONTRIBUTOR: '### Contributors'
COLUMN_PER_ROW: '8'
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
IMG_WIDTH: '100'
FONT_SIZE: '14'
PATH: '/README.md'
COMMIT_MESSAGE: 'docs(README): update contributors'
AVATAR_SHAPE: 'round'
```
<hr>