-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 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 |
---|---|---|
|
@@ -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 | ||
|