Skip to content

Merge branch 'main' of https://github.com/mid0aria/owofarmbot_stable #6

Merge branch 'main' of https://github.com/mid0aria/owofarmbot_stable

Merge branch 'main' of https://github.com/mid0aria/owofarmbot_stable #6

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