Skip to content

Commit

Permalink
Added submodule updating
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Dec 20, 2023
1 parent 35db93e commit c127c8c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/submodules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Update Submodules
on:
schedule:
- cron: "12 3 * * *"
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
with:
submodules: true
- run: git submodule update --remote
- run: git config --global user.name "GitHub Actions" && git config --global user.email "[email protected]"
- run: git add * && git commit -m "Updated Submodule Revisions" && git push

0 comments on commit c127c8c

Please sign in to comment.