Skip to content

Update Homebrew Formula #3

Update Homebrew Formula

Update Homebrew Formula #3

name: Update Homebrew Formula
on:
workflow_dispatch:
permissions:
contents: write
jobs:
make_formula:
name: Make Formula
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./bin/make_formula.sh
- run: |
git config --global user.name 'Michael Kreil'
git config --global user.email '[email protected]'
if [ $(git status --porcelain) ]; then
git add Formula
git commit -m "update formula automatically"
git push
else
echo "no changes"
fi