diff options
| author | Ryan Vogel <[email protected]> | 2026-02-18 18:16:43 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-18 18:16:43 -0500 |
| commit | c1620748887c9b963fe665b47519b264fe748044 (patch) | |
| tree | ffa17a54bebe290f39726381ac424ce2a4e88283 /.github | |
| parent | 088eac9d4eaba040e7e19084fd82cbb2e32ce6ed (diff) | |
| download | opencode-c1620748887c9b963fe665b47519b264fe748044.tar.gz opencode-c1620748887c9b963fe665b47519b264fe748044.zip | |
chore: skip PR standards checks for PRs created before Feb 18 2026 6PM EST (#14208)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/pr-standards.yml | 16 |
1 files changed, 16 insertions, 0 deletions
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({ |
