-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31071de
commit bb494f4
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
name: Update Submodule | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update-submodule: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository with Submodules | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Set Git User Info | ||
run: | | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --global user.name "github-actions[bot]" | ||
- name: Update Submodules | ||
run: | | ||
git submodule update --init --recursive --remote | ||
git add . | ||
git commit -m "Auto-update all submodules" || echo "No changes to commit" | ||
git push | ||
name: Update Submodule | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update-submodule: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository with Submodules | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Set Git User Info | ||
run: | | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --global user.name "github-actions[bot]" | ||
- name: Update Submodules | ||
run: | | ||
git submodule update --init --recursive --remote | ||
git add . | ||
git commit -m "Auto-update all submodules" || echo "No changes to commit" | ||
git push |