Skip to content

Commit 83af2d9

Browse files
committed
chore: update submodules when they change
Added a step to the self_update workflow that commits updates to submodules back into the main branch, so new published versions will have the latest GodotPackage.
1 parent 35922a6 commit 83af2d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/self_update.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ jobs:
3939
echo "No changes in repository."
4040
echo "changed=0" >> $GITHUB_OUTPUT
4141
fi
42+
- name: ✍️ Commit Changes
43+
if: steps.changes.outputs.changed == 1
44+
run: |
45+
git config user.name "action@github.com"
46+
git config user.email "GitHub Action"
47+
git commit -a -m "chore(version): update submodules"
48+
git push
4249
4350
release:
4451
uses: './.github/workflows/release.yaml'

0 commit comments

Comments
 (0)