Update all themes #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update all themes | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "51 5 * * 1" | |
jobs: | |
update-all-themes: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Update submodules | |
run: "git submodule update --remote" | |
- name: Commit and push changes | |
run: | | |
git status | |
if [[ `git status --short` ]]; then | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit -am "Update all themes" | |
git push | |
fi |