Skip to content

Commit

Permalink
working on unintended *.kicad_pro push #351
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Dec 11, 2023
1 parent 0f1d6db commit 07318a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/gha-commit.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
git config --local user.email "action@github.com"
git config --local user.name "GitHub create-board Action v2"
git config --local user.name "GitHub create-board Action"
echo "Status 1/3"
git status
git restore *.kicad_pro
Expand All @@ -10,7 +10,7 @@ git add gerber/*
git add boards/*
echo "Status 3/3"
git status
OUT=$(git commit -am "[skip actions] Auto-generated board" 2>&1) || echo "commit failed, finding out why"
OUT=$(git commit -am "[skip actions] Auto-generated board v2.1" 2>&1) || echo "commit failed, finding out why"
if echo "$OUT" | grep 'nothing to commit' || echo "$OUT" | grep 'nothing added to commit'; then
echo "headers: looks like nothing to commit"
# todo: NOCOMMIT is deprecated I guess? YESCOMMIT works better with multiple invocations per action
Expand Down

0 comments on commit 07318a0

Please sign in to comment.