fix action logic to avoid recursion

ignore changes to 'boundaries.topo.json' on PUSH actions to avoid triggering the push action when PRs are merged, since they already got updated at the PR stage.
This commit is contained in:
Hugh Rundle 2021-01-29 20:19:20 +11:00
parent 4f3ef6963c
commit bee5f4aa4d
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,7 @@ name: topo auto updater
on:
pull_request:
paths:
- website/data/library_services_information.csv
- 'website/data/library_services_information.csv'
jobs:
auto-topo-updater:

View file

@ -5,7 +5,8 @@ on:
branches:
- "master"
paths:
- website/data/library_services_information.csv
- 'website/data/library_services_information.csv'
- '!website/data/boundaries.topo.json'
jobs:
auto-topo-updater:
runs-on: ubuntu-latest