-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (38 loc) · 1.51 KB
/
autobump.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
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Autobump Formulas and Casks
on:
schedule:
- cron: '0 0 * * *' # every 24 hours
push:
branches:
- main
workflow_dispatch:
jobs:
autobump:
runs-on: macos-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@baf2b60c51fc1f8453c884b0c61052668a71bd1d
with:
# Required, custom personal GitHub access token with only the 'public_repo' scope enabled
token: ${{ secrets.HOMEBREW_TAP_GITHUB_API_TOKEN }}
# Optional, will commit with this user name
user_name: risc
# Optional, will commit with this user email
user_email: [email protected]
# Optional, use the origin repository instead of forking
no_fork: true
# Bump all outdated formulae in this tap
tap: Neved4/homebrew-tap
# Optional, if don't want to check for already open PRs
force: true # doesn't actually seem to work
# Need to set this input if want to use `brew livecheck`
livecheck: true
- name: Update Homebrew cask
uses: eugenesvk/action-homebrew-bump-cask@cc260684c6e41de1af9522a0f4dcb4f321a17f33
with:
# Required, custom GitHub access token with only the 'public_repo' scope enabled
token: ${{ secrets.HOMEBREW_TAP_GITHUB_API_TOKEN }}
# Bump all outdated casks in this tap
tap: Neved4/homebrew-tap
# Need to set this input if want to use `brew livecheck`
livecheck: true