From 613546bbbc1a80b4709fe43b2035fd8b8332133d Mon Sep 17 00:00:00 2001 From: Dan Tsai Date: Tue, 16 Jun 2026 19:08:03 +0000 Subject: [PATCH 1/2] ci: upgrade actions for Node 24 compatibility --- .github/workflows/pre-commit.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 68bdb05..705fa2e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -23,8 +23,10 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - uses: pre-commit/action@v3.0.1 + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true From 310caa21c2d862fd67beb8f0a7e05cf8786248ed Mon Sep 17 00:00:00 2001 From: Dan Tsai Date: Tue, 16 Jun 2026 12:45:15 -0700 Subject: [PATCH 2/2] Add workaround for Node 24 in pre-commit.yml comment to note the workaround for pre-commit/actions --- .github/workflows/pre-commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 705fa2e..b01a2f7 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -29,4 +29,5 @@ jobs: python-version: "3.12" - uses: pre-commit/action@v3.0.1 env: + # workaround for pre-commit/action not being updated to node24 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true