public_library_map/.github/workflows/add-contributors.yml

25 lines
571 B
YAML
Raw Normal View History

name: Add contributors
on:
push:
branches:
- master
- main
paths:
- '!website/data/library_services_information.csv'
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>