From b0706fbb007c3d8fb8c89cdc3e1cb55b5fce28e5 Mon Sep 17 00:00:00 2001 From: shenggan Date: Tue, 8 Nov 2022 15:07:42 +0800 Subject: [PATCH] [NFC] polish .github/workflows/submodule.yml code style (#1822) --- .github/workflows/submodule.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/submodule.yml b/.github/workflows/submodule.yml index ac01f85db..4ffb26118 100644 --- a/.github/workflows/submodule.yml +++ b/.github/workflows/submodule.yml @@ -1,6 +1,6 @@ name: Synchronize Submodule -on: +on: workflow_dispatch: schedule: - cron: "0 0 * * *" @@ -27,11 +27,11 @@ jobs: - name: Commit update run: | - git config --global user.name 'github-actions' - git config --global user.email 'github-actions@github.com' + git config --global user.name 'github-actions' + git config --global user.email 'github-actions@github.com' git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git commit -am "Automated submodule synchronization" - + - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: @@ -43,4 +43,3 @@ jobs: assignees: ${{ github.actor }} delete-branch: true branch: create-pull-request/patch-sync-submodule - \ No newline at end of file