Skip to content

Bump cask

Bump cask #1

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
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
CASK: ${{ github.event.inputs.cask }}
VERSION: ${{ github.event.inputs.version }}
run: |
brew bump-cask-pr "$REPOSITORY/$CASK" --version "$VERSION"