Skip to content

Commit be9cd7b

Browse files
committed
chore(pipeline): set git identity explicitly in pipeline
1 parent 55c1d0d commit be9cd7b

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

.github/workflows/homebrew.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ jobs:
8080
8181
- name: Homebrew
8282
env:
83-
GH_ACTIONS: "true"
8483
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
8584
run: |
85+
git config --global user.email "no-reply@autocloud.dev"
86+
git config --global user.name "autocloud-deploy-bot"
8687
yarn homebrew

release/scripts/_github_setup

Lines changed: 0 additions & 14 deletions
This file was deleted.

release/scripts/homebrew.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,19 +186,12 @@ async function updateCgNodeFormula(brewDir) {
186186
console.log(`done updating cg-node Formula in ${formulaPath}`)
187187
}
188188

189-
async function setupGit() {
190-
const githubSetupPath = path.join(__dirname, '_github_setup')
191-
await execa(githubSetupPath)
192-
}
193-
194189
async function updateHomebrew() {
195190
const tmp = path.join(__dirname, 'tmp')
196191
const homebrewDir = path.join(tmp, 'homebrew-tap')
197192
mkdirp.sync(tmp)
198193
rm.sync(homebrewDir)
199194

200-
// await setupGit()
201-
202195
console.log(
203196
`cloning https://github.com/cloudgraphdev/homebrew-tap to ${homebrewDir}`
204197
)

0 commit comments

Comments
 (0)