Skip to content

Commit

Permalink
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 86da826 commit 5ea98c6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/gha-commit.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/bash
git config --local user.email "action@github.com"
git config --local user.name "GitHub create-board Action"
echo "Status 1/3"
git status
git reset HEAD *.kicad_pro
echo "Status 2/3"
git status
git add gerber/*
git add boards/*
git reset HEAD *.kicad_pro
echo "Status 3/3"
git status
OUT=$(git commit -am "[skip actions] Auto-generated board" 2>&1) || echo "commit failed, finding out why"
if echo "$OUT" | grep 'nothing to commit' || echo "$OUT" | grep 'nothing added to commit'; then
Expand Down

0 comments on commit 5ea98c6

Please sign in to comment.