Skip to content

Commit

Permalink
debug homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Jul 1, 2024
1 parent 4286a93 commit 33a1e12
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,36 @@ jobs:
name: snm.rb
path: snm.rb

create-pull-request:
name: Create Pull Request
runs-on: ubuntu-latest
needs: generate-homebrew-formula
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{secrets.HOMEBREW_GITHUB_TOKEN}}
# Optional, will commit with this user name
user_name: ityuany
# Optional, will commit with this user email
user_email: [email protected]
# Optional, will create tap repo fork in organization
# org: ORG
# Optional, use the origin repository instead of forking
no_fork: false
# Optional, defaults to homebrew/core
tap: sheinsight/homebrew-shined
# Formula name, required
formula: snm
# Optional, will be determined automatically
# tag: ${{github.ref}}
# # Optional, will be determined automatically
# revision: ${{github.sha}}
# # Optional, if don't want to check for already open PRs
# force: false # true


# 新增的步骤:创建 PR
# - name: Checkout homebrew-shined repository
# uses: actions/checkout@v3
Expand Down

0 comments on commit 33a1e12

Please sign in to comment.