From b60dfb2e99cde8c7c9e081a47842ac4eda4a7c71 Mon Sep 17 00:00:00 2001 From: Wang Jinxin Date: Tue, 4 Aug 2026 20:32:07 +0800 Subject: [PATCH 1/2] ci: pin GitHub Actions to full commit SHAs --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12874fb..f086b39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,8 @@ jobs: run: working-directory: frontend steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 with: node-version: 20 cache: npm @@ -42,8 +42,8 @@ jobs: name: backend (pytest) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 with: python-version: "3.11" cache: pip @@ -71,13 +71,13 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 with: node-version: 20 cache: npm cache-dependency-path: frontend/package-lock.json - - uses: actions/setup-python@v5 + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 with: python-version: "3.11" cache: pip @@ -101,8 +101,8 @@ jobs: run: npx playwright test -c e2e/playwright.config.ts - name: Upload Playwright artifacts on failure if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: playwright-report path: frontend/e2e/playwright-report - if-no-files-found: ignore + if-no-files-found: ignore \ No newline at end of file From ae2b63f4e9b194e3962af250eb94c60348fe3485 Mon Sep 17 00:00:00 2001 From: Jinxin <102596431+JinxinWonderWorld@users.noreply.github.com> Date: Tue, 4 Aug 2026 21:10:32 +0800 Subject: [PATCH 2/2] style: restore workflow file newline --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f086b39..0805211 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,4 +105,4 @@ jobs: with: name: playwright-report path: frontend/e2e/playwright-report - if-no-files-found: ignore \ No newline at end of file + if-no-files-found: ignore