chore(ci): disable needs:compliance auto-close in the fork

Merged
GO
2mo ago
+8-2

What does this PR do?

Stops the inherited upstream compliance automation from auto-closing PRs in this fork. A PR was closed by github-actions after the 2-hour needs:compliance window today.

  • compliance-close.yml (scheduled every 30 min, closes labeled PRs/issues after 2 hours) is now gated on github.repository == 'anomalyco/opencode'.
  • The check-compliance job in pr-standards.yml, which applies the needs:compliance label and posts the 2-hour warning, gets the same gate.

This matches how the fork already handles other upstream-only workflows (deploy, publish, stats). The title-format and linked-issue checks in pr-standards.yml are unchanged.

Note: the scheduled job runs from the default branch, so it keeps firing until this merges to dev. To stop it right away: gh workflow disable compliance-close --repo replohq/replopencode.

Type of change

  • Bug fix
  • New feature
  • Other: CI configuration

How did you verify your code works?

Workflow-only change; the if: gate uses the exact expression already present on stats.yml and publish.yml in this repo.

Checklist

  • I have tested this locally
  • I have not included unrelated changes

Issue for this PR

N/A

šŸ¤– Generated with Claude Code


Devin Review

Summary by cubic

Stops the inherited upstream compliance automation from auto-closing PRs and issues in this fork, after a PR was closed by github-actions following the 2-hour needs:compliance window.

  • Gates the close-non-compliant job in compliance-close.yml and the check-compliance job in pr-standards.yml on github.repository == 'anomalyco/opencode'.
  • Gates both jobs in duplicate-issues.yml, which also label needs:compliance and post the 2-hour warning.
  • Matches how the fork already handles other upstream-only workflows; title-format and linked-issue checks are unchanged.
  • The scheduled job keeps firing until this merges to dev; to stop it right away, run gh workflow disable compliance-close --repo replohq/replopencode.