Skip to content

Commit

Permalink
Added workflow to update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger-Tom committed Dec 11, 2023
1 parent 405c24e commit 3f3f9d6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/update_submodules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Misc/Update Submodules"
on:
workflow_dispatch:

jobs:
update-submodules:
name: "Update submodules"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Pull and update submodules"
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: "Commit and push changes"
run: |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git config user.name github-actions
git commit -am "Updated submodules"
git push

0 comments on commit 3f3f9d6

Please sign in to comment.