File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,13 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- # 检出代码
15
14
- name : Checkout repository
16
15
uses : actions/checkout@v4
17
16
18
- # 设置 Node.js 环境
19
17
- name : Set up Node.js
20
18
uses : actions/setup-node@v4
21
19
with :
22
- node-version : ' 20' # 使用 Node.js 18
20
+ node-version : ' 20'
23
21
24
22
# 运行第一个脚本 sync_xlab.js,从接口获取最新数据
25
23
- name : Run sync_xlab.js
44
42
git commit -m "chore: Automated data update from scripts"
45
43
git push origin main
46
44
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 }}
You can’t perform that action at this time.
0 commit comments