-
-
Notifications
You must be signed in to change notification settings - Fork 11
36 lines (34 loc) · 1.12 KB
/
main.yml
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
name: main
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contribute list in readme.md
steps:
- name: Contribute List
uses: akhilmhdh/[email protected]
with:
# Size of square images in the stack
image_size: 100
# Path of the readme file you want to update
readme_path: "README.md "
# To use github-id instead of profile name
use_username: true
# Number of columns in a row
columns_per_row: 6
# Type of collaborators options: all/direct/outside
collaborators: all
# Commit message of the GitHub action
commit_message: "👥 自动更新 README 中的贡献者信息"
# Username on commit
committer_username: iTanken
# email id of committer
committer_email: [email protected]
# check if branch is protected
auto_detect_branch_protection: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}