From c1620748887c9b963fe665b47519b264fe748044 Mon Sep 17 00:00:00 2001 From: Ryan Vogel Date: Wed, 18 Feb 2026 18:16:43 -0500 Subject: [PATCH] chore: skip PR standards checks for PRs created before Feb 18 2026 6PM EST (#14208) --- .github/workflows/pr-standards.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/pr-standards.yml b/.github/workflows/pr-standards.yml index a7e9eed3a..27581d06b 100644 --- a/.github/workflows/pr-standards.yml +++ b/.github/workflows/pr-standards.yml @@ -18,6 +18,14 @@ jobs: const pr = context.payload.pull_request; const login = pr.user.login; + // Skip PRs older than Feb 18, 2026 at 6PM EST (Feb 19, 2026 00:00 UTC) + const cutoff = new Date('2026-02-19T00:00:00Z'); + const prCreated = new Date(pr.created_at); + if (prCreated < cutoff) { + console.log(`Skipping: PR #${pr.number} was created before cutoff (${prCreated.toISOString()})`); + return; + } + // Check if author is a team member or bot if (login === 'opencode-agent[bot]') return; const { data: file } = await github.rest.repos.getContent({ @@ -157,6 +165,14 @@ jobs: const pr = context.payload.pull_request; const login = pr.user.login; + // Skip PRs older than Feb 18, 2026 at 6PM EST (Feb 19, 2026 00:00 UTC) + const cutoff = new Date('2026-02-19T00:00:00Z'); + const prCreated = new Date(pr.created_at); + if (prCreated < cutoff) { + console.log(`Skipping: PR #${pr.number} was created before cutoff (${prCreated.toISOString()})`); + return; + } + // Check if author is a team member or bot if (login === 'opencode-agent[bot]') return; const { data: file } = await github.rest.repos.getContent({