Skip to content

Instantly share code, notes, and snippets.

@apgapg
Created April 27, 2021 03:47
Show Gist options
  • Save apgapg/7b12a02f173a65755698b8bf87e1799e to your computer and use it in GitHub Desktop.
Save apgapg/7b12a02f173a65755698b8bf87e1799e to your computer and use it in GitHub Desktop.
Add auto contributors to README workflow
name: Add contributors
on:
schedule:
- cron: '0 0 * * 0'
jobs:
add-contributors:
name: Add contributors to README.md
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: BobAnkh/add-contributors@master
with:
REPO_NAME: '*org*/*repo-name*'
CONTRIBUTOR: '## ✨ Active Contributors'
COLUMN_PER_ROW: '6'
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
IMG_WIDTH: '100'
FONT_SIZE: '14'
PATH: '/README.md'
COMMIT_MESSAGE: '[README] Update contributors'
AVATAR_SHAPE: 'square'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment