Auto commit fix #98

Merged
hughrun merged 2 commits from auto-commit-fix into master 2021-02-01 20:00:25 +11:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 65b3d2a70b - Show all commits

View file

@ -12,8 +12,8 @@ for (let name of contributors) {
for (let commit of eventJson.commits) {
// we only look for authors, not commiters, so we automatically ignore "actions-user"
if ( !contributors.includes(commit.author.name) ) {
// auto-commits use my username, not my actual name
if (commit.author.name != 'hughrun') {
// auto-commits for updating TopoJSON use 'Library Map Bot' as user
if (commit.author.name != 'Library Map Bot') {
contributors.push(commit.author.name)
}
}

View file

@ -29,6 +29,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
author: Library Map Bot <librarymap@hugh.run>
commit-message: Update TopoJSON boundaries
title: Update TopoJSON boundaries
body: 'Clean & minify GeoJSON; process to TopoJSON; merge library info csv to topo.'