Skip to content

Commit

Permalink
Merge pull request #178 from deggja/ci/create-pull-request
Browse files Browse the repository at this point in the history
ci: update create pull request job
  • Loading branch information
deggja authored Oct 4, 2024
2 parents e7dd4e8 + e1b1eeb commit e97081d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:

permissions:
contents: write
pull-requests: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -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 <bot@netfetch.com>
commit_user_name: "Netfetch Bot"
commit_author: "Netfetch Bot <bot@netfetch.com>"
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 <bot@netfetch.com>"
author: "Netfetch Bot <bot@netfetch.com>"
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

0 comments on commit e97081d

Please sign in to comment.