From 9783c55fa5a6bb22c49f1b880182aee218167b43 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Wed, 31 Jul 2024 10:47:28 -0500 Subject: [PATCH] Set git user globally (#970) --- .github/workflows/init.yml | 4 ++-- .github/workflows/update.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/init.yml b/.github/workflows/init.yml index 324f1941..7bf47b18 100644 --- a/.github/workflows/init.yml +++ b/.github/workflows/init.yml @@ -33,8 +33,8 @@ jobs: - name: Configure git user run: | - git config user.name 'Conda Bot' - git config user.email '18747875+conda-bot@users.noreply.github.com' + git config --global user.name 'Conda Bot' + git config --global user.email '18747875+conda-bot@users.noreply.github.com' - name: (upstream) Remove repository from sync.yml run: sed -i '\%${{ github.event.inputs.org }}/${{ github.event.inputs.repo }}$%d' upstream/.github/sync/config.yml diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index cffef038..9484adf6 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -51,8 +51,8 @@ jobs: - name: Configure git user run: | - git config user.name 'Conda Bot' - git config user.email '18747875+conda-bot@users.noreply.github.com' + git config --global user.name 'Conda Bot' + git config --global user.email '18747875+conda-bot@users.noreply.github.com' - uses: conda/actions/combine-durations@976289d0cfd85139701b26ddd133abdd025a7b5f # v24.5.0