Skip to content

Commit

Permalink
Create update-submodules.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Feb 3, 2025
1 parent 2801400 commit 4fa6335
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Update Submodules

on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'

jobs:
update-submodules:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Update Submodules
run: |
git submodule update --remote --merge
git add .
git commit -m "Update submodules" || echo "No changes to commit"
git push

0 comments on commit 4fa6335

Please sign in to comment.