Skip to content

Commit

Permalink
ci: contributor credits plan
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Feb 3, 2024
1 parent 4e20c74 commit ae680fa
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/credits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Contributor Credits

on:
schedule:
- cron: '0 1 * * 0' # At 01:00 on Sunday.
workflow_dispatch:

jobs:
contributors:
runs-on: ubuntu-latest
steps:
- name: Update Contributors
uses: wow-actions/contributors-list@v1
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
svgPath: docs/public/contributors.svg
affiliation: all
includeBots: false
excludeUsers: hywax-assistant
avatarSize: 96
userNameHeight: 20
svgWidth: 830

authors:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update Authors
uses: wow-actions/update-authors@v1
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
sort: 'commits'
path: .github/AUTHORS.txt
template: '{{ name }} <{{ email }}> - commits'
commit: 'chore: update AUTHORS'

0 comments on commit ae680fa

Please sign in to comment.