Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit c162074

Browse files
authored
chore: skip PR standards checks for PRs created before Feb 18 2026 6PM EST (anomalyco#14208)
1 parent 088eac9 commit c162074

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/pr-standards.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
const pr = context.payload.pull_request;
1919
const login = pr.user.login;
2020
21+
// Skip PRs older than Feb 18, 2026 at 6PM EST (Feb 19, 2026 00:00 UTC)
22+
const cutoff = new Date('2026-02-19T00:00:00Z');
23+
const prCreated = new Date(pr.created_at);
24+
if (prCreated < cutoff) {
25+
console.log(`Skipping: PR #${pr.number} was created before cutoff (${prCreated.toISOString()})`);
26+
return;
27+
}
28+
2129
// Check if author is a team member or bot
2230
if (login === 'opencode-agent[bot]') return;
2331
const { data: file } = await github.rest.repos.getContent({
@@ -157,6 +165,14 @@ jobs:
157165
const pr = context.payload.pull_request;
158166
const login = pr.user.login;
159167
168+
// Skip PRs older than Feb 18, 2026 at 6PM EST (Feb 19, 2026 00:00 UTC)
169+
const cutoff = new Date('2026-02-19T00:00:00Z');
170+
const prCreated = new Date(pr.created_at);
171+
if (prCreated < cutoff) {
172+
console.log(`Skipping: PR #${pr.number} was created before cutoff (${prCreated.toISOString()})`);
173+
return;
174+
}
175+
160176
// Check if author is a team member or bot
161177
if (login === 'opencode-agent[bot]') return;
162178
const { data: file } = await github.rest.repos.getContent({

0 commit comments

Comments
 (0)