From 71fb6f2e90a149fdc37bfa569dee90854522ce4b Mon Sep 17 00:00:00 2001 From: Levin Dixon Date: Wed, 23 Sep 2026 12:10:50 +0100 Subject: [PATCH 1/2] Re-enable the Fern Check workflow Move fern_check.yml back into .github/workflows so pull requests and pushes to main validate the specs again. Pin actions/checkout to a commit, drop persisted git credentials, declare read-only permissions, cap the job at 15 minutes, and cancel superseded pull request runs. Co-Authored-By: Claude Fable 5.1 --- .../fern_check.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) rename .github/{workflows-disabled => workflows}/fern_check.yml (54%) diff --git a/.github/workflows-disabled/fern_check.yml b/.github/workflows/fern_check.yml similarity index 54% rename from .github/workflows-disabled/fern_check.yml rename to .github/workflows/fern_check.yml index 06998a42..33246ddd 100644 --- a/.github/workflows-disabled/fern_check.yml +++ b/.github/workflows/fern_check.yml @@ -6,12 +6,23 @@ on: branches: - main +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: run: + name: Fern Check runs-on: ubuntu-latest + timeout-minutes: 15 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false - name: Install pnpm uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 From e7c02b21a541be2551e815ddce99b223d654b0ca Mon Sep 17 00:00:00 2001 From: Levin Dixon Date: Wed, 23 Sep 2026 12:58:41 +0100 Subject: [PATCH 2/2] Bump pnpm/action-setup to v6.1.0 The v4.3.0 pin declares Node.js 20, which GitHub-hosted runners now force onto Node.js 24 with a deprecation warning on every run. v6.1.0 declares Node.js 24 and still honours the pnpm version pinned in package.json. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/fern_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fern_check.yml b/.github/workflows/fern_check.yml index 33246ddd..c4699881 100644 --- a/.github/workflows/fern_check.yml +++ b/.github/workflows/fern_check.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Install pnpm - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 + uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 - name: Install Fern run: pnpm add -g fern-api@5.65.3