Skip to content

Publish and commit bottles on schedule #5385

Publish and commit bottles on schedule

Publish and commit bottles on schedule #5385

Workflow file for this run

name: Publish and commit bottles on schedule
on:
workflow_dispatch:
schedule:
# Once every hour
- cron: "*/60 * * * *"
concurrency:
group: autopublish
cancel-in-progress: true
env:
HOMEBREW_FORCE_HOMEBREW_ON_LINUX: 1
permissions:
contents: read
jobs:
autopublish:
if: github.repository == 'Homebrew/homebrew-core'
runs-on: ubuntu-22.04
container:
image: ghcr.io/homebrew/ubuntu22.04:master
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
test-bot: false
- name: Run automerge
env:
HOMEBREW_GITHUB_API_TOKEN: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}}
run: brew pr-automerge --verbose --publish