File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Check out
14- uses : actions/checkout@v4
14+ uses : actions/checkout@v6
1515 - name : Verify duplicated file names
1616 run : ./scripts/verify-duplicated-file-name.sh
1717
1818 internal-links-files :
1919 runs-on : ubuntu-latest
2020 steps :
2121 - name : Check out
22- uses : actions/checkout@v4
23- - uses : actions/setup-node@v4
22+ uses : actions/checkout@v6
23+ - uses : actions/setup-node@v6
2424 with :
2525 node-version : " 18"
2626 cache : npm
3434 runs-on : ubuntu-latest
3535 steps :
3636 - name : Check out
37- uses : actions/checkout@v4
38- - uses : actions/setup-node@v4
37+ uses : actions/checkout@v6
38+ - uses : actions/setup-node@v6
3939 with :
4040 node-version : " 18"
4141 cache : npm
4949 runs-on : ubuntu-latest
5050 steps :
5151 - name : Check out
52- uses : actions/checkout@v4
53- - uses : actions/setup-node@v4
52+ uses : actions/checkout@v6
53+ - uses : actions/setup-node@v6
5454 with :
5555 node-version : " 18"
5656 cache : npm
6464 runs-on : ubuntu-latest
6565 steps :
6666 - name : Checkout
67- uses : actions/checkout@v4
67+ uses : actions/checkout@v6
6868 - name : Vale Linter
6969 uses : errata-ai/vale-action@reviewdog
7070 with :
Original file line number Diff line number Diff line change 2424 )
2525 steps :
2626 - name : Checkout Repo
27- uses : actions/checkout@v3
27+ uses : actions/checkout@v6
2828 with :
2929 fetch-depth : 0 # Fetch all history for all branches and tags
3030
Original file line number Diff line number Diff line change @@ -18,18 +18,18 @@ jobs:
1818 runs-on : ubuntu-latest
1919
2020 steps :
21- - uses : actions/checkout@v4
21+ - uses : actions/checkout@v6
2222 name : Download translator repo
2323 with :
2424 repository : " pingcap/docs-toolkit"
2525 ref : " main"
2626 path : " docs-toolkit"
27- - uses : actions/checkout@v4
27+ - uses : actions/checkout@v6
2828 name : Download specified branch of docs repo
2929 with :
3030 ref : ${{ github.event.inputs.from }}
3131 path : " docs"
32- - uses : actions/setup-node@v4
32+ - uses : actions/setup-node@v6
3333 name : Setup node
3434 with :
3535 node-version : 20
Original file line number Diff line number Diff line change 2525 curl -fsSL https://raw.githubusercontent.com/pingcap/docs/master/.lycheeignore --output .lycheeignore
2626
2727 - name : Restore lychee cache
28- uses : actions/cache@v4
28+ uses : actions/cache@v5
2929 with :
3030 path : .lycheecache
3131 key : cache-lychee-${{ github.sha }}
Original file line number Diff line number Diff line change 1212 name : Upload media files
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
15+ - uses : actions/checkout@v6
1616 with :
1717 # Must use at least depth 2!
1818 fetch-depth : 2
@@ -61,10 +61,10 @@ jobs:
6161 TENCENTCLOUD_SECRET_KEY : ${{ secrets.TENCENTCLOUD_SECRET_KEY }}
6262 steps :
6363 - name : Checkout repository
64- uses : actions/checkout@v4
64+ uses : actions/checkout@v6
6565
6666 - name : Set up Python environment
67- uses : actions/setup-python@v5
67+ uses : actions/setup-python@v6
6868 with :
6969 python-version : " 3.12"
7070 architecture : " x64"
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Checkout base
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v6
1919 with :
2020 fetch-depth : 0
2121 - name : Fetch head
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout the latest code
12- uses : actions/checkout@v4
12+ uses : actions/checkout@v6
1313 with :
1414 token : ${{ secrets.REBASE_SECRET_KEY }}
1515 fetch-depth : 0 # otherwise, you will fail to push refs to dest repo
Original file line number Diff line number Diff line change 1717 runs-on : ubuntu-latest
1818
1919 steps :
20- - uses : actions/checkout@v4
20+ - uses : actions/checkout@v6
2121 name : Checkout ZH branch
2222 with :
2323 ref : " ${{ env.ZH_BRANCH }}"
3232 -L "https://api.github.com/repos/${{ github.repository }}/contents/scripts/sync-en-cloud-toc-changes-to-zh.py" \
3333 -o temp_scripts/sync-en-cloud-toc-changes-to-zh.py
3434
35- - uses : actions/setup-python@v5
35+ - uses : actions/setup-python@v6
3636 name : Setup Python 3.11
3737 with :
3838 python-version : ' 3.11'
8080
8181 - name : Create PR
8282 if : steps.check_changes.outputs.changes == 'true'
83- uses : peter-evans/create-pull-request@v7
83+ uses : peter-evans/create-pull-request@v8
8484 with :
8585 path : " docs"
8686 token : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -34,22 +34,22 @@ jobs:
3434
3535 steps :
3636 - name : Checkout current repository
37- uses : actions/checkout@v4
37+ uses : actions/checkout@v6
3838 with :
3939 token : ${{ secrets.GITHUB_TOKEN }}
4040 persist-credentials : false
4141 fetch-depth : 0
4242
4343 - name : Checkout ai-pr-translator repository
44- uses : actions/checkout@v4
44+ uses : actions/checkout@v6
4545 with :
4646 repository : " qiancai/ai-pr-translator"
4747 ref : " main"
4848 path : " ai-pr-translator"
4949 persist-credentials : false
5050
5151 - name : Set up Python
52- uses : actions/setup-python@v4
52+ uses : actions/setup-python@v6
5353 with :
5454 python-version : ' 3.9'
5555
Original file line number Diff line number Diff line change @@ -42,18 +42,18 @@ jobs:
4242 echo "Skipping duplicate branch ${{ matrix.value }}"
4343 exit 1
4444
45- - uses : actions/checkout@v4
45+ - uses : actions/checkout@v6
4646 name : Download translator repo
4747 with :
4848 repository : " pingcap/docs-toolkit"
4949 ref : " main"
5050 path : " docs-toolkit"
51- - uses : actions/checkout@v4
51+ - uses : actions/checkout@v6
5252 name : Download docs repo and specified branch
5353 with :
5454 ref : " ${{ matrix.value }}"
5555 path : " docs"
56- - uses : actions/setup-node@v4
56+ - uses : actions/setup-node@v6
5757 name : Setup node
5858 with :
5959 node-version : 20
You can’t perform that action at this time.
0 commit comments