2023-04-29 07:03:18 +00:00
|
|
|
name: 'Update Contributors List'
|
|
|
|
|
2021-08-28 13:23:11 +00:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2023-04-29 07:03:18 +00:00
|
|
|
- cron: 0 4 * * 0
|
2021-08-28 13:23:11 +00:00
|
|
|
|
2023-04-29 07:03:18 +00:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
pull-requests: write
|
|
|
|
statuses: write
|
|
|
|
|
|
|
|
jobs:
|
2021-08-28 13:23:11 +00:00
|
|
|
add-contributors:
|
2023-04-29 07:03:18 +00:00
|
|
|
name: 'Add Contributors'
|
2023-01-28 12:53:17 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2021-08-28 13:23:11 +00:00
|
|
|
steps:
|
2023-04-29 07:03:18 +00:00
|
|
|
- name: 'Checkout'
|
2023-09-04 15:07:38 +00:00
|
|
|
uses: actions/checkout@v4
|
2021-09-28 10:37:54 +00:00
|
|
|
|
2023-04-29 07:03:18 +00:00
|
|
|
- name: 'Update CONTRIBUTORS.md'
|
2023-10-22 15:42:01 +00:00
|
|
|
uses: akhilmhdh/contributors-readme-action@v2.3.6
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-09-28 20:13:58 +00:00
|
|
|
with:
|
2023-10-22 15:42:01 +00:00
|
|
|
readme_path: CONTRIBUTORS.md
|
|
|
|
collaborators: all
|
|
|
|
commit_message: 'docs: updated `CONTRIBUTORS.md`'
|
|
|
|
committer_username: github-actions[bot]
|
|
|
|
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
|
|
|
|
pr_title_on_protected: 'docs: update `CONTRIBUTORS.md'
|
|
|
|
auto_detect_branch_protection: true
|