2021-01-29 20:25:07 +11:00
|
|
|
name: topo auto updater (PR)
|
2021-01-29 19:03:47 +11:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2021-01-29 20:19:20 +11:00
|
|
|
- 'website/data/library_services_information.csv'
|
2021-01-29 20:12:08 +11:00
|
|
|
|
2021-01-29 21:10:39 +11:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2021-01-29 19:03:47 +11:00
|
|
|
jobs:
|
|
|
|
auto-topo-updater:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- uses: christianvuerings/add-labels@v1
|
|
|
|
with:
|
|
|
|
labels: |
|
2021-01-29 20:12:08 +11:00
|
|
|
auto update
|
2021-01-29 19:03:47 +11:00
|
|
|
data
|
2021-01-29 19:37:20 +11:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-01-29 20:12:08 +11:00
|
|
|
|
2021-01-29 19:03:47 +11:00
|
|
|
- name: Merge CSV to TopoJSON
|
|
|
|
run: |
|
|
|
|
python3 ./.github/scripts/merge_csv_to_topojson.py
|
|
|
|
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
with:
|
2021-02-02 18:10:48 +11:00
|
|
|
commit_message: merge csv data to topo
|