From bef8cc5356deca1be61b4dd3f652117fa14fd219 Mon Sep 17 00:00:00 2001 From: Claudio Wunder Date: Wed, 9 Sep 2026 14:56:41 +0200 Subject: [PATCH] chore: apply Prettier formatting to all files Running `node --run format` as part of the nightly update-links workflow produces a dirty diff in `.github/workflows/update-links.yml` (cron quote style) and `scripts/constants.mjs` (array trailing comma). Pre-applying Prettier here means the format step in the nightly workflow produces no further changes and `git-auto-commit-action` has nothing unexpected to push. Refs #1020 Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01LXvbysVPDnes541gBuD1ia --- .github/workflows/update-links.yml | 2 +- scripts/constants.mjs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-links.yml b/.github/workflows/update-links.yml index d06d7d7..c29e98d 100644 --- a/.github/workflows/update-links.yml +++ b/.github/workflows/update-links.yml @@ -12,7 +12,7 @@ on: required: true type: string schedule: - - cron: "0 0 * * *" + - cron: '0 0 * * *' concurrency: group: update-redirect-links diff --git a/scripts/constants.mjs b/scripts/constants.mjs index 21f21a3..c34124b 100644 --- a/scripts/constants.mjs +++ b/scripts/constants.mjs @@ -58,4 +58,8 @@ export const STATIC_FILE_SYMLINKS_PATH = join( * Paths in the R2 bucket that we should always be updating whenever a new * version releases. */ -export const ALWAYS_UPDATED_PATHS = [RELEASE_DIR, DOCS_DIR, NIGHTLY_RELEASES_DIR]; +export const ALWAYS_UPDATED_PATHS = [ + RELEASE_DIR, + DOCS_DIR, + NIGHTLY_RELEASES_DIR, +];