-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: replace github for create pull request and use github cli directly
Signed-off-by: deggja <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,14 +92,14 @@ jobs: | |
commit_author: "Netfetch Bot <[email protected]>" | ||
commit_user_email: "[email protected]" | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: chore/homebrew-${{ env.VERSION }} | ||
base: main | ||
title: "chore: update homebrew formula for v${{ env.VERSION }}" | ||
committer: "Netfetch Bot <[email protected]>" | ||
author: "Netfetch Bot <[email protected]>" | ||
body: "Automated update of Homebrew formula to version v${{ env.VERSION }}." | ||
draft: false | ||
- name: Create Pull Request Using GitHub CLI | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh pr create \ | ||
--title "chore: update homebrew formula for v${{ env.VERSION }}" \ | ||
--body "This is an automated pull request. This pull request updates the Homebrew formula to version v${{ env.VERSION }} with the latest binary URLs and checksums." \ | ||
--base main \ | ||
--head chore/homebrew-${{ env.VERSION }} \ | ||
--label homebrew,automated \ | ||
--reviewer deggja \ |