From ea759a87bdd2715ee1c82dcfca3976c54e4defd6 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 25 Feb 2026 18:11:24 -0500 Subject: [PATCH] Configure user.* git vars for git-bug We are getting Error: no config entry for the given key: missing key user.name see https://github.com/dandi/dandi-cli/actions/runs/22418696352/job/64910947697 --- .github/workflows/sync-git-bug.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/sync-git-bug.yml b/.github/workflows/sync-git-bug.yml index 46efc8da2..0de5d61c5 100644 --- a/.github/workflows/sync-git-bug.yml +++ b/.github/workflows/sync-git-bug.yml @@ -20,6 +20,13 @@ jobs: # Fetch git-bug refs so we can push incremental updates fetch-depth: 0 + - name: Configure git + run: | + # Required by git-bug to have those set, otherwise would not work! + git config --global user.name "github-actions" + git config --global user.email "github-actions@users.noreply.github.com" + + - name: Fetch existing bug refs run: | git fetch origin 'refs/bugs/*:refs/bugs/*' || true