Skip to content

Commit 33103b9

Browse files
Fix freshness & freshness checker
1 parent 2ac404b commit 33103b9

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

deploy/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-03-20
2+
last_modified: 2026-07-09
33
title: "About Deno Deploy"
44
description: "Guide to Deno Deploy features, comparison with Deploy Classic, and getting started instructions for deployment."
55
---

runtime/getting_started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-06-17
2+
last_modified: 2026-07-09
33
title: Installation
44
description: "A Guide to installing Deno on different operating systems. Includes instructions for Windows, macOS, and Linux using various package managers, manual installation methods, and Docker containers."
55
oldUrl:

runtime/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-05-28
2+
last_modified: 2026-07-09
33
title: "Get started with Deno"
44
description: "Install Deno and build your first project: why Deno, install, create, run, test, add a dependency, and use the built-in toolchain. No build step, no config."
55
pagination_next: /runtime/getting_started/installation/

sandbox/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-01-28
2+
last_modified: 2026-07-09
33
title: "Getting started"
44
description: "Step-by-step walkthrough for enabling Deno Sandbox, creating your first microVM, running commands, exposing services, and managing secrets."
55
---

scripts/check_freshness.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,14 @@ async function main() {
8484
const today = new Date().toISOString().slice(0, 10);
8585
const violations: string[] = [];
8686

87+
// Diff the merge-base against the working tree (not HEAD), so local runs
88+
// see uncommitted edits and date bumps; in CI the tree matches HEAD anyway.
8789
// -M detects renames; status is e.g. "M", "A", "D", "R095".
8890
const nameStatus = await git(
8991
"diff",
9092
"--name-status",
9193
"-M",
92-
`${mergeBase}..HEAD`,
94+
mergeBase,
9395
);
9496

9597
for (const line of nameStatus.split("\n")) {
@@ -103,7 +105,7 @@ async function main() {
103105
const newPath = isRename ? parts[2] : parts[1];
104106
if (!isDoc(newPath)) continue;
105107

106-
const headContent = await showFile("HEAD", newPath);
108+
const headContent = await Deno.readTextFile(newPath).catch(() => null);
107109
const baseContent = status === "A"
108110
? null
109111
: await showFile(mergeBase, oldPath);

0 commit comments

Comments
 (0)