Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Verify duplicated file names
run: ./scripts/verify-duplicated-file-name.sh

internal-links-files:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- uses: actions/setup-node@v4
uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: npm
Expand All @@ -34,8 +34,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- uses: actions/setup-node@v4
uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: npm
Expand All @@ -49,8 +49,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- uses: actions/setup-node@v4
uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:

- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 0 # Fetch all history for all branches and tags

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flush-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
CDN_BASE_URL: "https://docs-download.pingcap.com/pdf"
steps:
- name: Set up Python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'
architecture: 'x64'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flush.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
TENCENTCLOUD_SECRET_KEY: ${{ secrets.TENCENTCLOUD_SECRET_KEY }}
steps:
- name: Set up Python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'
architecture: 'x64'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-fail-fast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
echo "all_changed_files=${CHANGED_FILES}" >> $GITHUB_OUTPUT

- name: Restore lychee cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
curl https://raw.githubusercontent.com/pingcap/docs/master/.lycheeignore --output .lycheeignore

- name: Restore lychee cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Upload media files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# Must use at least depth 2!
fetch-depth: 2
Expand Down Expand Up @@ -60,10 +60,10 @@ jobs:
TENCENTCLOUD_SECRET_KEY: ${{ secrets.TENCENTCLOUD_SECRET_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'
architecture: 'x64'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prevent-deletion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fetch head
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
token: ${{ secrets.REBASE_SECRET_KEY }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sync-ai-docs-en-to-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
name: Checkout docs-cn
with:
ref: ${{ env.DOCS_CN_BASE }}
path: docs-cn
fetch-depth: 0

- uses: actions/checkout@v4
- uses: actions/checkout@v6
name: Checkout ai-pr-translator
with:
repository: ${{ env.AI_TRANSLATOR_REPO }}
ref: ${{ env.AI_TRANSLATOR_REF }}
path: ai-pr-translator

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
name: Setup Python
with:
python-version: "3.9"
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
echo "Resolved source files: ${out}"
fi

- uses: actions/checkout@v4
- uses: actions/checkout@v6
name: Checkout source repo glossary
if: steps.source_files.outputs.has_source_changes == 'true'
with:
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:

- name: Create PR
if: steps.changes.outputs.has_changes == 'true'
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@v8
with:
path: docs-cn
token: ${{ github.token }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sync-doc-pr-en-to-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ jobs:

steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
fetch-depth: 0

- name: Checkout ai-pr-translator repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: "qiancai/ai-pr-translator"
ref: "main"
path: "ai-pr-translator"
persist-credentials: false

- name: Checkout docs repository glossary
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: "pingcap/docs"
ref: "master"
Expand All @@ -58,7 +58,7 @@ jobs:
fetch-depth: 1

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.9'

Expand Down
Loading