Skip to content

Bump cask

Bump cask #4

Workflow file for this run

name: Bump cask
on:
workflow_dispatch:
inputs:
cask:
required: true
type: string
version:
required: true
type: string
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pull-requests: write
repository-projects: read
security-events: read
statuses: read
jobs:
build:
runs-on: macos-13
steps:
- name: Bump tap
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
CASK: ${{ github.event.inputs.cask }}
VERSION: ${{ github.event.inputs.version }}
run: |
brew tap "$REPOSITORY"
brew bump-cask-pr "$REPOSITORY/$CASK" --version "$VERSION"