Skip to content

Update

Update #4

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@v3
- name: Update formula
continue-on-error: true # This step fails when formula is up-to-date
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
git config user.name "Dhruv Bhanushali"
git config user.email "hi@dhruvkb.dev"
git checkout -b update_formula
./scripts/update_formula.sh
git add .
git commit --all --message "Update formula"
git push origin update_formula
gh pr create --title "Update formula" --body "Update formula"