Centralized infrastructure repository for reusable GitHub Actions workflows and deployment automation scripts. By decoupling pipeline logic from application code, this repository acts as a single source of truth to eliminate CI/CD duplication across projects.
Automates the synchronization of a Homebrew formula with a newly published PyPI release. It polls PyPI for the target version, extracts the source distribution checksum, and dynamically synthesizes Python dependency resources via homebrew-pypi-poet.
Caller Workflow Implementation:
To invoke this workflow from a dependent repository, append the following job to your release pipeline:
sync-homebrew:
name: Delegate Homebrew Update
needs: build-n-publish # Ensure PyPI publish completes first
uses: JacksonFergusonDev/ci-cd-tooling/.github/workflows/update-homebrew.yml@main
with:
tag: ${{ github.ref_name }}
package_name: "target-package"
formula_path: "Formula/target-package.rb"
secrets:
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}