Template example comments (#268) #4
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
| name: Update contributors | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "17 3 * * *" | |
| jobs: | |
| update-readme-contributors: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Update contributors in README | |
| uses: akhilmhdh/contributors-readme-action@v2.3.11 | |
| with: | |
| readme_path: README.md | |
| columns_per_row: 6 | |
| image_size: 100 | |
| use_username: true | |
| commit_message: "docs(contributors): update README contributors" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |