Files
Sunshine/.github/workflows/_update-homebrew-repo.yml
T
2026-02-14 17:43:01 -05:00

34 lines
961 B
YAML

---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.
# To use, add the `homebrew-pkg` repository label to identify repositories that should trigger this workflow.
# Update Homebrew on release events.
name: Update Homebrew repo
permissions: {}
on:
release:
types:
- released
concurrency:
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}"
cancel-in-progress: true
jobs:
update-homebrew-repo:
name: Update Homebrew repo
uses: LizardByte/.github/.github/workflows/__call-update-homebrew-repo.yml@master
if: github.repository_owner == 'LizardByte'
permissions:
contents: read
with:
gh_username: ${{ vars.GH_BOT_NAME }}
secrets:
GH_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}