Skip to content

Commit

Permalink
Update AutoMerge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgz0227 authored Jul 22, 2024
1 parent 175f975 commit 63847fa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/AutoMerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # 必须获取所有分支和提交记录才能进行合并操作

- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: https://mgz0227:${{ secrets.AUTOMERGE }}@github.com/

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -43,8 +46,10 @@ jobs:
- name: Configure git
run: |
git config --local user.name "mgz0227"
git config --local user.email "[email protected]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
sudo timedatectl set-timezone "Asia/Shanghai"
- name: Merge PR
if: env.MERGE == 'true'
env:
Expand Down

0 comments on commit 63847fa

Please sign in to comment.