2021-10-22 02:33:58 +08:00
|
|
|
name: Contributors
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-02-20 04:04:01 +08:00
|
|
|
workflow_dispatch:
|
2021-10-22 02:33:58 +08:00
|
|
|
jobs:
|
|
|
|
add-contributors:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-10-22 03:18:50 +08:00
|
|
|
- uses: actions/checkout@v2
|
2022-03-02 17:08:30 +08:00
|
|
|
- name: Delete upstream contributor branch
|
|
|
|
run: git push origin --delete update-contributors
|
|
|
|
- name: Create up-to-date contributors branch
|
|
|
|
run: git checkout -B update-contributors
|
2022-02-20 04:04:01 +08:00
|
|
|
- uses: BobAnkh/add-contributors@v0.2.2
|
2021-10-22 03:18:50 +08:00
|
|
|
with:
|
|
|
|
CONTRIBUTOR: "## Contributors"
|
|
|
|
COLUMN_PER_ROW: "6"
|
|
|
|
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
IMG_WIDTH: "100"
|
|
|
|
FONT_SIZE: "14"
|
|
|
|
PATH: "/README.md"
|
|
|
|
COMMIT_MESSAGE: "docs(README): update contributors"
|
|
|
|
AVATAR_SHAPE: "round"
|
2021-10-22 05:21:38 +08:00
|
|
|
BRANCH: "update-contributors"
|
2021-10-22 05:54:20 +08:00
|
|
|
PULL_REQUEST: "main"
|