2021-01-31 21:22:24 +11:00
|
|
|
name: Add contributors
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-02-06 12:37:51 +11:00
|
|
|
- master
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- '!website/data/library_services_information.csv'
|
2021-01-31 21:22:24 +11:00
|
|
|
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:
|
2021-02-06 12:12:15 +11:00
|
|
|
commit_message: update contributors
|
|
|
|
commit_author: Library Map Bot <librarymap@hugh.run>
|