Skip to content

Update release action to update main instead of PRs #8

Update release action to update main instead of PRs

Update release action to update main instead of PRs #8

Workflow file for this run

name: Update
on:
push:
branches:
- main
workflow_dispatch:
schedule:
# "At 00:00." / https://crontab.guru/#0_0_*_*_*
- cron: '0 0 * * *'
jobs:
update:
name: Update formula
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: main
- name: Update formula
continue-on-error: true # This step fails when formula is up-to-date
run: |
./scripts/update_formula.sh
git config user.name "Dhruv Bhanushali"
git config user.email "[email protected]"
git commit --all --message "Update formula"
git push origin main