-
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.
Merge pull request #191 from deggja/ci/debug-homebrew-workflow
ci: specify token and rearrange parameters
- Loading branch information
Showing
1 changed file
with
3 additions
and
14 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,25 +92,14 @@ jobs: | |
commit_author: "Netfetch Bot <[email protected]>" | ||
commit_user_email: "[email protected]" | ||
|
||
- name: Fetch latest state of branches | ||
run: | | ||
git fetch origin main:main | ||
git fetch origin chore/homebrew-${{ env.VERSION }}:chore/homebrew-${{ env.VERSION }} | ||
- name: Log differences from main | ||
run: | | ||
echo "Changes made to the branch relative to main:" | ||
git diff --name-status origin/main...chore/homebrew-${{ env.VERSION }} | ||
- 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]>" | ||
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 }} | ||
add-paths: | | ||
formula/netfetch.rb | ||
draft: false |