Skip to content

Commit dc1f64a

Browse files
[PETOSS-829] Set git user and email in GHA
1 parent 39dd9ce commit dc1f64a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/update-version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
versionNumber=${1:?Version number is required as first argument}
44
branchName=${2:-master}
55

6+
if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
7+
git config --global user.name "GitHub Actions"
8+
git config --global user.email "actions@github.com"
9+
fi
10+
611
git checkout "$branchName"
712

813
for file in xero*.yaml; do

0 commit comments

Comments
 (0)