Skip to content

Commit

Permalink
Merge pull request #191 from deggja/ci/debug-homebrew-workflow
Browse files Browse the repository at this point in the history
ci: specify token and rearrange parameters
  • Loading branch information
deggja authored Oct 5, 2024
2 parents 8ff71ed + 72ea49a commit 260fea9
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 260fea9

Please sign in to comment.