From 032d2a7bbf6a5df6eabfeca3d1414591441f98de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 13:57:48 +0000 Subject: [PATCH 1/4] chore(deps): bump the github-actions group with 6 updates Bumps the github-actions group with 6 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `7` | | [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `4` | `6` | | [pnpm/action-setup](https://github.com/pnpm/action-setup) | `5` | `6` | | [actions/setup-node](https://github.com/actions/setup-node) | `6` | `7` | | [actions/cache](https://github.com/actions/cache) | `5` | `6` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5` | `7` | Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `aws-actions/configure-aws-credentials` from 4 to 6 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v4...v6) Updates `pnpm/action-setup` from 5 to 6 - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v5...v6) Updates `actions/setup-node` from 6 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) Updates `actions/cache` from 5 to 6 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v5...v6) Updates `codecov/codecov-action` from 5 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v5...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: aws-actions/configure-aws-credentials dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: pnpm/action-setup dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/maintenance-mode-toggle.yaml | 4 ++-- .github/workflows/tests.yaml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maintenance-mode-toggle.yaml b/.github/workflows/maintenance-mode-toggle.yaml index bdabb615..c518e036 100644 --- a/.github/workflows/maintenance-mode-toggle.yaml +++ b/.github/workflows/maintenance-mode-toggle.yaml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Configure aws credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::154471991214:role/github_action aws-region: us-west-2 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8f003dc4..a7a8c67d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -34,7 +34,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 # Docs: https://github.com/shivammathur/setup-php - name: Setup php @@ -45,12 +45,12 @@ jobs: coverage: xdebug - name: Setup pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: "12.3.4" - name: Setup node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version: latest cache: "pnpm" @@ -60,7 +60,7 @@ jobs: run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v5 + - uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -91,7 +91,7 @@ jobs: run: echo "version=$(npx playwright --version | awk '{print $2}')" >> $GITHUB_OUTPUT - name: Cache playwright binaries - uses: actions/cache@v5 + uses: actions/cache@v6 id: playwright-cache with: path: ~/.cache/ms-playwright @@ -111,7 +111,7 @@ jobs: run: vendor/bin/pest --parallel --coverage-clover ./coverage.xml - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} slug: yilanboy/docfunc From e274403d605a340923a0eb5fbf02d0374f651cc2 Mon Sep 17 00:00:00 2001 From: Allen Jiang Date: Wed, 11 Nov 2026 23:43:31 +0800 Subject: [PATCH 2/4] ci: pin node-version to 26 and scope playwright install to chromium --- .github/workflows/tests.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a7a8c67d..2c28253b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -52,7 +52,7 @@ jobs: - name: Setup node.js uses: actions/setup-node@v7 with: - node-version: latest + node-version: 26 cache: "pnpm" - name: Get composer cache directory @@ -101,11 +101,15 @@ jobs: - name: Install Playwright browsers and dependencies (Cache Miss) if: steps.playwright-cache.outputs.cache-hit != 'true' - run: npx playwright install --with-deps + env: + DEBIAN_FRONTEND: noninteractive + run: npx playwright install --with-deps chromium - name: Install Playwright system dependencies (Cache Hit) if: steps.playwright-cache.outputs.cache-hit == 'true' - run: npx playwright install-deps + env: + DEBIAN_FRONTEND: noninteractive + run: npx playwright install-deps chromium - name: Test with pest run: vendor/bin/pest --parallel --coverage-clover ./coverage.xml From 344b2a8e3aeb21d78e4e5f29c76c3e1f3e6f8479 Mon Sep 17 00:00:00 2001 From: Allen Jiang Date: Wed, 11 Nov 2026 23:48:38 +0800 Subject: [PATCH 3/4] ci: purge needrestart to avoid hang on apt-get --- .github/workflows/tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2c28253b..0c70eabf 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -31,11 +31,16 @@ jobs: ALGOLIA_SECRET: ${{ secrets.ALGOLIA_SECRET }} CAPTCHA_SITE_KEY: 1x00000000000000000000BB CAPTCHA_SECRET_KEY: 1x0000000000000000000000000000000AA + DEBIAN_FRONTEND: noninteractive + NEEDRESTART_MODE: l steps: - name: Checkout uses: actions/checkout@v7 + - name: Disable needrestart + run: sudo apt-get purge -y needrestart || true + # Docs: https://github.com/shivammathur/setup-php - name: Setup php uses: shivammathur/setup-php@v2 From 993cb323e692fcc18a7160c7759fa78d2d73459d Mon Sep 17 00:00:00 2001 From: Allen Jiang Date: Wed, 11 Nov 2026 23:51:23 +0800 Subject: [PATCH 4/4] ci: remove redundant playwright install-deps on cache hit --- .github/workflows/tests.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0c70eabf..568edb18 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -110,12 +110,6 @@ jobs: DEBIAN_FRONTEND: noninteractive run: npx playwright install --with-deps chromium - - name: Install Playwright system dependencies (Cache Hit) - if: steps.playwright-cache.outputs.cache-hit == 'true' - env: - DEBIAN_FRONTEND: noninteractive - run: npx playwright install-deps chromium - - name: Test with pest run: vendor/bin/pest --parallel --coverage-clover ./coverage.xml