monolisa-nerdfont-patch/.github/workflows/ci.yml

34 lines
752 B
YAML

name: "Update Nerd Fonts"
on:
workflow_dispatch:
schedule:
# “At 00:00 on Monday.”
- cron: "0 0 * * 1"
permissions:
contents: write
jobs:
change-batteries:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Git Bot
run: |
git --version
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Check Nerd-Fonts Source
run: make update-src
- name: Commit Updates
run: |
if [[ -n "$(git status --porcelain)" ]]; then
git add -A
git commit -m "chore: change batteries"
git push
fi