docker-mailserver/.github/workflows/contributors.yml

34 lines
895 B
YAML
Raw Normal View History

2023-04-29 07:03:18 +00:00
name: 'Update Contributors List'
on:
workflow_dispatch:
schedule:
2023-04-29 07:03:18 +00:00
- cron: 0 4 * * 0
2023-04-29 07:03:18 +00:00
permissions:
contents: write
pull-requests: write
statuses: write
jobs:
add-contributors:
2023-04-29 07:03:18 +00:00
name: 'Add Contributors'
runs-on: ubuntu-22.04
steps:
2023-04-29 07:03:18 +00:00
- name: 'Checkout'
uses: actions/checkout@v4
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 }}
with:
2023-10-22 15:42:01 +00:00
readme_path: CONTRIBUTORS.md
collaborators: all
use_username: true
2023-10-22 15:42:01 +00:00
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`'
2023-10-22 15:42:01 +00:00
auto_detect_branch_protection: true