Skip to content

Update Brew Casks

Update Brew Casks #514

Workflow file for this run

jobs:
updateCasks:
name: Update Brew Casks
runs-on: ${{ matrix.os }}
permissions:
contents: write
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- if: matrix.os == 'ubuntu-latest'
name: Config git for github-actions
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Update casks
run: |+
sh update.sh
- name: Commit and push changes.
run: >
if [ "$(git status --porcelain)" ]; then
git add .;
git commit -m "action: update casks";
git push;
fi
strategy:
matrix:
os:
- ubuntu-latest
name: Update Brew Casks
"on":
schedule:
- cron: 37 21 * * *
workflow_dispatch: {}