Skip to content

Commit

Permalink
feat(ci): add scheduled job to update all themes (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilioziniades authored May 15, 2024
1 parent deb2036 commit 850677a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-all-themes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit 850677a

Please sign in to comment.