Commit b0706fbb authored by shenggan's avatar shenggan Committed by binmakeswell
Browse files

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

parent fc8d8b1b
name: Synchronize Submodule name: Synchronize Submodule
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
...@@ -27,11 +27,11 @@ jobs: ...@@ -27,11 +27,11 @@ jobs:
- name: Commit update - name: Commit update
run: | run: |
git config --global user.name 'github-actions' git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com' 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 remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git commit -am "Automated submodule synchronization" git commit -am "Automated submodule synchronization"
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3
with: with:
...@@ -43,4 +43,3 @@ jobs: ...@@ -43,4 +43,3 @@ jobs:
assignees: ${{ github.actor }} assignees: ${{ github.actor }}
delete-branch: true delete-branch: true
branch: create-pull-request/patch-sync-submodule branch: create-pull-request/patch-sync-submodule
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment