Autocreate PR for QMK CLI updates #725
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
name: Autocreate PR for QMK CLI updates | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '45 5 * * *' | |
jobs: | |
update: | |
runs-on: macos-latest | |
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. |