在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:dawidd6/action-homebrew-bump-formula开源软件地址:https://github.com/dawidd6/action-homebrew-bump-formula开源编程语言:Ruby 100.0%开源软件介绍:Homebrew bump formula GitHub ActionAn action that wraps Runs on It it is recommended to run this Action on UsageOne should use the Personal Access Token for
Standard modeUse if you want to simply bump the formula, when a new release happens. Listen for new tags in workflow: on:
push:
tags:
- '*' The Action will extract all needed informations by itself, you just need to specify the following step in your workflow: - 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.TOKEN}}
# Optional, will create tap repo fork in organization
org: ORG
# Optional, defaults to homebrew/core
tap: USER/REPO
# Formula name, required
formula: FORMULA
# 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 Livecheck modeIf Might be a good idea to run this on schedule in your tap repo, so one gets automated PRs updating outdated formulae. If there are no outdated formulae, the Action will just exit. - name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
# Required, custom GitHub access token with only the 'public_repo' scope enabled
token: ${{secrets.TOKEN}}
# Optional, will create tap repo fork in organization
org: ORG
# Bump all outdated formulae in this tap
tap: USER/REPO
# Bump only these formulae if outdated
formula: FORMULA-1, FORMULA-2, FORMULA-3, ...
# Optional, if don't want to check for already open PRs
force: false # true
# Need to set this input if want to use `brew livecheck`
livecheck: true If only Examples
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论