Skip to content

Commit f5347fc

Browse files
authored
Merge pull request #22 from chickensoft-games/chore/update-submodules-when-changed
chore: update submodules when they change
2 parents 35922a6 + 83af2d9 commit f5347fc

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)