Skip to content

Commit dcc9341

Browse files
committed
chore(pipeline): configure Github identity in Homebrew action
1 parent 881a9ae commit dcc9341

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/homebrew.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ jobs:
8383
8484
- name: Homebrew
8585
env:
86+
GH_ACTIONS: "true"
8687
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
8788
run: |
88-
git config --global user.email "no-reply@autocloud.dev"
89-
git config --global user.name "autocloud-deploy-bot"
9089
yarn homebrew

release/scripts/_github_setup

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
set -e
44

5-
# if [[ "${CIRCLECI:-}" != "true" ]]; then
6-
# echo "skipping github setup since not on circle"
7-
# exit
8-
# fi
5+
if [[ "${GH_ACTIONS:-}" != "true" ]]; then
6+
echo "skipping git config since not on Github Actions"
7+
exit
8+
fi
99

10-
git config --global user.email "149658+cloudgraph-cli@users.noreply.github.com"
11-
git config --global user.name "cloudgraph-cli"
10+
# git config --global user.email "149658+cloudgraph-cli@users.noreply.github.com"
11+
# git config --global user.name "cloudgraph-cli"
12+
13+
git config --global user.email "no-reply@autocloud.dev"
14+
git config --global user.name "autocloud-deploy-bot"

0 commit comments

Comments
 (0)