From 119f5b6dffa2509e874ec4c45237de146de0a0fd Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Fri, 22 Sep 2023 13:00:50 +0800 Subject: [PATCH] publish-commit-bottles: make `@BrewTestBot` the author of automatic bottle commits Addresses https://github.com/Homebrew/homebrew-core/pull/144087#issuecomment-1730786977. --- .github/workflows/publish-commit-bottles.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-commit-bottles.yml b/.github/workflows/publish-commit-bottles.yml index d4b43ea964142..513db25f08129 100644 --- a/.github/workflows/publish-commit-bottles.yml +++ b/.github/workflows/publish-commit-bottles.yml @@ -269,6 +269,8 @@ jobs: - name: Configure Git user id: git-user-config uses: Homebrew/actions/git-user-config@master + with: + username: ${{ (github.actor != 'github-actions[bot]' && github.actor) || 'BrewTestBot' }} - name: Set up commit signing uses: Homebrew/actions/setup-commit-signing@master