Skip to content

Organization Contributors #1968

Organization Contributors

Organization Contributors #1968

name: Organization Contributors
on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
jobs:
contributors:
permissions:
contents: write
runs-on: ubuntu-latest
name: Update contributors
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Get contributors
uses: razonyang/github-org-contributors-action@main
id: contributors
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
org: 'hbstack'
output: 'data/contributors.toml'
- name: Commit contributors
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update contributors"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
file_pattern: 'data/contributors.toml'