Auto commit fix #98
4
.github/scripts/contributors.js
vendored
4
.github/scripts/contributors.js
vendored
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
1
.github/workflows/minify-map-json.yml
vendored
1
.github/workflows/minify-map-json.yml
vendored
|
@ -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.'
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue