update workflow actions
This commit is contained in:
parent
ff19d5b4dd
commit
13114a4fee
12
.github/workflows/automerge.yml
vendored
12
.github/workflows/automerge.yml
vendored
|
@ -1,12 +0,0 @@
|
|||
name: Check PR ok to automerge
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
perform-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check PR can be automerged
|
||||
uses: hughrun/can-pr-be-automerged-action@v1.6
|
||||
with:
|
||||
required-user: 'hughrun'
|
1
.github/workflows/merge-csv-to-topojson.yml
vendored
1
.github/workflows/merge-csv-to-topojson.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
- master
|
||||
paths:
|
||||
- website/data/library_services_information.csv
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
mergeData:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
33
.github/workflows/update-topo-on-info-update.yml
vendored
Normal file
33
.github/workflows/update-topo-on-info-update.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
name: topo auto updater
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- website/data/library_services_information.csv
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
paths:
|
||||
- website/data/library_services_information.csv
|
||||
jobs:
|
||||
auto-topo-updater:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- uses: christianvuerings/add-labels@v1
|
||||
with:
|
||||
labels: |
|
||||
automated
|
||||
data
|
||||
|
||||
- name: Merge CSV to TopoJSON
|
||||
run: |
|
||||
python3 ./.github/scripts/merge_csv_to_topojson.py
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: merge csv into topo
|
Loading…
Reference in a new issue