Merge e4e5ba919ee3564248a535c343938bffdf4ee646 into beb90da73115dc54113cb757da3c66809a46fc85

This commit is contained in:
夕舞八弦 2026-08-18 11:23:30 +08:00 committed by GitHub
commit 82e08db163
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 16 deletions

View File

@ -15,7 +15,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@main
- uses: anc95/ChatGPT-CodeReview@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

View File

@ -11,18 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: PNPM
uses: pnpm/action-setup@v2
with:
version: 8.1.0
uses: pnpm/action-setup@v5
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: pnpm i && pnpm docs:build
- name: Deploy
uses: easingthemes/ssh-deploy@main
uses: easingthemes/ssh-deploy@v6
env:
# 本地.ssh文件下的私钥id_rsa存在secrets的TOKEN中
SSH_PRIVATE_KEY: ${{ secrets.HARRYWAN_PRIVATE_KEY }}
@ -40,19 +38,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: PNPM
uses: pnpm/action-setup@v2
with:
version: 8.1.0
uses: pnpm/action-setup@v5
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
pnpm i
pnpm docs:build-pages
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.9.0
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/.vitepress/dist

View File

@ -22,7 +22,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Mirror the Github organization repos to Gitee.
uses: Yikun/hub-mirror-action@master
uses: Yikun/hub-mirror-action@v1.5
with:
src: github/WeBankFinTech
dst: gitee/WeBank

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v7
- name: Get the release version from the tag
shell: bash
if: env.RELEASE_VERSION == ''
@ -23,8 +23,7 @@ jobs:
cat notes-${{ env.RELEASE_VERSION }}.md
- name: Create Release for Tag
id: release_tag
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
body_path: notes-${{ env.RELEASE_VERSION }}.md