-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 1.15 KB
/
update-tap.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Bump Homebrew Formula
on:
workflow_dispatch:
push:
tags:
- '*' # Trigger on all tags
jobs:
update-tap:
runs-on: ubuntu-latest
steps:
# Step 1: Use action to update Homebrew formula
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.ACTIONS_PERSONAL_ACCESS_TOKEN }} # Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
user_name: github-actions # Optional, will commit with this user name
user_email: github-actions@github.com # Optional, will commit with this user email
# org: ORG # Optional, will create tap repo fork in organization
no_fork: false # Optional, use the origin repository instead of forking
tap: PeterBrain/homebrew-tap # Optional, defaults to homebrew/core
formula: icloud-nosync # Formula name, required
tag: ${{ github.ref }} # Optional, will be determined automatically
revision: ${{ github.sha }} # Optional, will be determined automatically
force: false # Optional, if don't want to check for already open PRs