Skip to content

Commit 78889bc

Browse files
committed
fix: ci update
1 parent 68d3da6 commit 78889bc

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/sync-ranking-data-by-month.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
# 检出代码
1514
- name: Checkout repository
1615
uses: actions/checkout@v4
1716

18-
# 设置 Node.js 环境
1917
- name: Set up Node.js
2018
uses: actions/setup-node@v4
2119
with:
22-
node-version: '20' # 使用 Node.js 18
20+
node-version: '20'
2321

2422
# 运行第一个脚本 sync_xlab.js,从接口获取最新数据
2523
- name: Run sync_xlab.js
@@ -44,24 +42,4 @@ jobs:
4442
git commit -m "chore: Automated data update from scripts"
4543
git push origin main
4644
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
49-
# # 创建并推送 PR
50-
# - name: Create Pull Request
51-
# id: create_pr
52-
# uses: peter-evans/create-pull-request@v7
53-
# with:
54-
# commit-message: "chore: Updating data from xlab"
55-
# title: "chore: Updating data from xlab"
56-
# body: "Updating data from xlab,and create user homepages"
57-
# branch: update-ranking-data
58-
# base: "main"
59-
# delete-branch: true
60-
61-
# # 启用自动合并
62-
# - name: Enable auto-merge
63-
# uses: peter-evans/enable-pull-request-automerge@v3
64-
# with:
65-
# token: ${{ secrets.GITHUB_TOKEN }}
66-
# pull-request-number: ${{ steps.create_pr.outputs.pull-request-number }}
67-
# merge-method: merge
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)