Update Submodules #1
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
# | |
# See https://github.com/rusefi/rusefi/wiki/Connector-Mapping | |
# | |
name: Update Submodules | |
on: | |
# schedule: | |
# - cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Git Update | |
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 }} |