From 5ba28f37ed1e5e598cce8f32331a2c2f0b91fcd0 Mon Sep 17 00:00:00 2001 From: KC Berg Date: Wed, 9 Jul 2025 06:35:20 -0600 Subject: [PATCH] ci: set git user/email to HawkyMcBuilderFace[bot] before bumpver steps --- .github/workflows/ci.yml | 4 ++++ .github/workflows/prepare-release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb65c77..19a736c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,6 +85,10 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install . + - name: Set git user for HawkyMcBuilderFace bot + run: | + git config user.name "HawkyMcBuilderFace[bot]" + git config user.email "hawkymcbuilderface[bot]@users.noreply.github.com" - name: Bump patch version with bumpver run: bumpver update --patch --commit - name: Push version bump commit diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 67969e8..bc01b06 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -33,6 +33,10 @@ jobs: - name: Set up git for pushing run: | git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git + - name: Set git user for HawkyMcBuilderFace bot + run: | + git config user.name "HawkyMcBuilderFace[bot]" + git config user.email "hawkymcbuilderface[bot]@users.noreply.github.com" - name: Bump minor version with bumpver run: bumpver update --minor --commit - name: Push version bump commit