build(readme): 更新 workflows 权限 #477
This file contains hidden or 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
on: | |
push: | |
branches: | |
- main | |
# 添加必要的权限 | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
contrib-readme-job: | |
runs-on: ubuntu-latest | |
name: A job to automate contrib in readme | |
steps: | |
- name: Contribute List | |
uses: akhilmhdh/contributors-readme-action@master | |
with: | |
image_size: 80 | |
use_username: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |