From e1b1eeb25bff6f3c48a21deb8ab3f855228926c7 Mon Sep 17 00:00:00 2001 From: deggja Date: Fri, 4 Oct 2024 22:26:02 +0200 Subject: [PATCH] ci: update create pull request job Signed-off-by: deggja --- .github/workflows/homebrew.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 0f46251..8d98919 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -16,6 +16,7 @@ jobs: permissions: contents: write + pull-requests: write steps: - name: Checkout repository @@ -83,14 +84,19 @@ jobs: branch: chore/homebrew-${{ env.VERSION }} create_branch: true file_pattern: "formula/netfetch.rb" - commit_user_name: Netfetch Bot - commit_author: Netfetch Bot + commit_user_name: "Netfetch Bot" + commit_author: "Netfetch Bot " commit_user_email: "bot@netfetch.com" - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: title: "chore: update homebrew formula for v${{ env.VERSION }}" + committer: "Netfetch Bot " + author: "Netfetch Bot " + commit-message: "chore: update homebrew formula for v${{ env.VERSION }}" body: "Automated update of Homebrew formula to version v${{ env.VERSION }}." branch: chore/homebrew-${{ env.VERSION }} - base: main + add-paths: | + formula/netfetch.rb + delete-branch: true