From e35f3078e23551a51dae7bbd84cbcca851f9d3da Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 4 Dec 2023 14:27:41 -0500 Subject: [PATCH] toolset --- ...tom-board-update-hellen-one-reference.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/custom-board-update-hellen-one-reference.yaml diff --git a/.github/workflows/custom-board-update-hellen-one-reference.yaml b/.github/workflows/custom-board-update-hellen-one-reference.yaml new file mode 100644 index 0000000..f652283 --- /dev/null +++ b/.github/workflows/custom-board-update-hellen-one-reference.yaml @@ -0,0 +1,38 @@ +# +# +# + +name: Update hellen-one Reference + +on: + workflow_call: + +jobs: + update-git: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Git Checkout Submodules + run: | + git submodule update --init --depth=1 hellen-one + + - 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 "action@github.com" + git config --local user.name "GitHub git update Action" + git add ext/rusefi + git commit -am "GHA says update hellen-one" + git status + + - name: Push + uses: ad-m/github-push-action@master + with: + github_token: ${{ github.token }}