Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor: prune narration and history comments #19559

Mergedmaria-rcksmerged 11 commits intomain fromrefs/pull/19559/headmerged by maria-rcks View on GitHub

Showing 3,139 changed files with 0 additions and 9 deletions (loading 3,129).

x
0 of 3,139 viewed, 3,139 left
0 additions and 6 deletions.github/scripts/check-nightly-release.cjsModified
View file
@@ -40,7 +40,6 @@
​
const isNightlyTag = (tag) => /^v.*-nightly\./.test(tag) || tag.startsWith("nightly-v");
​
-// Newest published nightly by publication time, or undefined when none exists.
async function findLatestNightly({ github, context }) {
const releases = await github.paginate(github.rest.repos.listReleases, {
...context.repo,
@@ -51,7 +50,6 @@
.sort((a, b) => Date.parse(b.published_at) - Date.parse(a.published_at))[0];
​
-// Runs after the workflow acquires the nightly concurrency lock.
async function shouldReleaseNightly({ github, context, core, now = Date.now() }) {
const lastNightly = await findLatestNightly({ github, context });
​
@@ -81,9 +79,6 @@
return true;
​
-// Stable releases build the commit the latest nightly shipped, so the stable
-// build is one nightly users already ran. Returns the nightly tag, its commit,
-// and the stable version that nightly was a preview of.
async function resolveLatestNightlyCommit({ github, context, core }) {
const lastNightly = await findLatestNightly({ github, context });
if (!lastNightly) {
@@ -91,7 +86,6 @@