Hugh Rundle
459f0b22d0
- avoids adding GitHub usernames instead of names when adding automated commits e.g. updating the name file. Also cleaned up contributors.txt
24 lines
508 B
YAML
24 lines
508 B
YAML
name: Add contributors
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
- "main"
|
|
|
|
jobs:
|
|
update-contributors:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Update text and html files
|
|
run: |
|
|
npm install cheerio
|
|
npm install pretty
|
|
node ./.github/scripts/contributors.js
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: update contributors
|
|
commit_author: Library Map Bot <librarymap@hugh.run> |