Skip to content

Update Submodules

Update Submodules #3

#
#
#
name: Update Submodules
on:
# schedule:
# - cron: '0 0 * * *'
workflow_dispatch:
jobs:
generate:

Check failure on line 13 in .github/workflows/update-submodules.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-submodules.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Git Checkout Submodules
run: |
git submodule update --init --depth=1 ext/rusefi
- name: Git Update Submodules
run: |
git submodule update --remote
- name: Commit fresh submodules
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub git update Action"
git add ext/rusefi
git status
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}