-
-
Notifications
You must be signed in to change notification settings - Fork 11
28 lines (27 loc) · 1.02 KB
/
update.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: Autocreate PR for QMK CLI updates
on:
workflow_dispatch:
schedule:
- cron: '45 5 * * *'
jobs:
update:
runs-on: macos-11
steps:
- 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.QMK_BOT_TOKEN}}
# Optional, use the origin repository instead of forking
no_fork: true
# Bump all outdated formulae in this tap
tap: qmk/homebrew-qmk
# Bump only these formulae if outdated
formula: qmk
# 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
message: |
**⚠️ Do not merge this PR directly! ⚠️**
Wait for `brew test-bot` to complete, then label it with `pr-pull` instead to make the bot build and upload the bottle.