From 2cae7cdd3b1b055d065c3c387f3d63aa95106161 Mon Sep 17 00:00:00 2001 From: d4k1 Date: Tue, 17 Feb 2026 08:42:41 +0900 Subject: [PATCH 1/3] Fix broken link for Japanese book --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc7d647e5..d2bfc5fac 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This repository contains a [community fork](https://github.com/purescript-contri If you enjoyed the book or found it useful, please consider buying a copy of [the original on Leanpub](https://leanpub.com/purescript). -Translations: [日本語 (Japanese)](https://gemmaro.github.io/purescript-book/) +Translations: [日本語 (Japanese)](https://purs-jp.github.io/purescript-book/) ## Status From 936a1c3adf532621f7849a99920c64f0a4cdc7d9 Mon Sep 17 00:00:00 2001 From: d4k1 Date: Wed, 18 Feb 2026 16:23:54 +0900 Subject: [PATCH 2/3] Update actions `book.multilingual` has been removed. https://github.com/rust-lang/mdBook/pull/2775 --- .github/workflows/mdbook.yml | 6 +++--- .github/workflows/tests.yml | 10 +++++----- book.toml | 1 - 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 95875aa13..013accba0 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -9,10 +9,10 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup mdBook - uses: peaceiris/actions-mdbook@v1 + uses: peaceiris/actions-mdbook@v2 with: mdbook-version: 'latest' @@ -30,7 +30,7 @@ jobs: - run: mdbook build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/master' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 62e473418..52f82f654 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up PureScript toolchain uses: purescript-contrib/setup-purescript@main - name: Cache PureScript dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} path: | @@ -24,12 +24,12 @@ jobs: exercises/*/output - name: Set up Node toolchain - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: "14.x" + node-version: "24.x" - name: Cache NPM dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: diff --git a/book.toml b/book.toml index 064f1c813..cd24f6331 100644 --- a/book.toml +++ b/book.toml @@ -1,7 +1,6 @@ [book] authors = ["Phil Freeman"] language = "en" -multilingual = false src = "text" title = "PureScript by Example" [output.html] From 8e7319e189216939f8b24e530b43c688e1a076ff Mon Sep 17 00:00:00 2001 From: d4k1 Date: Wed, 18 Feb 2026 21:25:35 +0900 Subject: [PATCH 3/3] Add write permissions for the deployment workflow This seems related. https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/ --- .github/workflows/mdbook.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 013accba0..f194c7772 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -5,6 +5,9 @@ on: branches: [master] pull_request: +permissions: + contents: write + jobs: deploy: runs-on: ubuntu-latest