Update contributors images in README.md #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update contributors images in README.md | |
on: | |
workflow_dispatch: | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.CI_GITHUB_TOKEN }} # 要绕过分支保护规则此处不可少 | |
- name: Generate Contributors Images | |
uses: jaywcjlove/[email protected] | |
id: contributors | |
with: | |
filter-author: (renovate\[bot\]|renovate-bot|@github-actions-bot|dependabot\[bot\]|ImgBotApp) | |
avatarSize: 42 | |
- name: Modify README.md | |
uses: jaywcjlove/[email protected] | |
with: | |
token: ${{ secrets.CI_GITHUB_TOKEN }} | |
path: README.md | |
openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->' | |
closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->' | |
message: '修改文档: 更新`贡献者列表`' | |
body: | | |
${{steps.contributors.outputs.htmlList}} |