Skip to content

chore: add test environment to ruleset policy - #1

Merged
akshayahujaa merged 1 commit into
mainfrom
chore/CU-0000-add-test-environment
Aug 18, 2026
Merged

akshayahujaa merged 1 commit into
mainfrom
chore/CU-0000-add-test-environment

Conversation

@akshayahujaa

Copy link
Copy Markdown
Owner

Adds test to environments in the repo's committed ruleset policy.

Declared after dev so task-sync rank follows the real pipeline order, picking up the existing environmentStatuses mapping:

  • merge into dev → in progress
  • merge into test → QA

Why this lands before the sync run

The sync CLI writes an added environment to .github/ruleset-config.json with writeFileSync — it edits the file locally and never commits it. Applying first would leave the committed policy saying dev-only while the live rulesets covered test, and the next --repo run would read the committed file and plan [no longer covers test], stripping the protection back off.

What the sync will do once this is merged

  • UPDATE Pull Request Compulsion → ~DEFAULT_BRANCH, dev, test
  • UPDATE Enforce Branch Nomenclature → excluded refs 12 → 13
  • CREATE the test branch from main
  • UPDATE clickup-sync.yml and pr-scope-check.yml
  • PR-SCOPE-CHECK stays scoped to dev only — the test profile is {}, so it carries no status-check requirement

🤖 Generated with Claude Code

Adds 'test' to environments, declared after 'dev' so task-sync rank
follows the real pipeline order (dev -> test). Picks up the existing
environmentStatuses mapping of test -> 'QA'.

Landing this before running the sync keeps the committed policy and the
live rulesets in agreement; applying first would leave the repo's policy
saying dev-only while the rulesets covered test.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Failed to generate code suggestions for PR

@akshayahujaa
akshayahujaa merged commit 2fe5f82 into main Aug 18, 2026
3 checks passed
@akshayahujaa
akshayahujaa deleted the chore/CU-0000-add-test-environment branch August 18, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant