[NFC] polish .github/workflows/submodule.yml code style (#1822)

pull/1849/head
shenggan 2022-11-08 15:07:42 +08:00 committed by binmakeswell
parent fc8d8b1b9c
commit b0706fbb00
1 changed files with 4 additions and 5 deletions

View File

@ -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