Skip to content

chore: correct develop ruleset to match what the API accepts#11

Merged
DGINXREAL merged 1 commit into
developfrom
chore/fix-ruleset-json
Jun 12, 2026
Merged

chore: correct develop ruleset to match what the API accepts#11
DGINXREAL merged 1 commit into
developfrom
chore/fix-ruleset-json

Conversation

@DGINXREAL

Copy link
Copy Markdown
Member

Corrects scripts/develop-ruleset.json + applier to match the protect-develop ruleset that is now live on this (public) repo.

Two things the rulesets API rejected in the original version:

  • GitHub Actions Integration bypass actor — not allowed on user-owned (non-org) repos via API. Removed; added as a one-time UI step instead (documented in the script header): Settings → Rules → Rulesets → protect-develop → Bypass list → add GitHub Actions (mode: Always).
  • automatic_copilot_code_review_enabled — not a valid pull_request parameter. Removed.

The applier was already run; this just makes the tracked files reproducible and accurate.

The first version failed against the rulesets API:
- the GitHub Actions Integration bypass actor is rejected on user-owned
  repos (must be added via the UI instead)
- `automatic_copilot_code_review_enabled` is not a valid pull_request param

Removes both; documents the one-time UI step for the GitHub Actions bypass.
This matches the active `protect-develop` ruleset.
@DGINXREAL
DGINXREAL merged commit c6bb06d into develop Jun 12, 2026
1 check passed
@DGINXREAL
DGINXREAL deleted the chore/fix-ruleset-json branch June 12, 2026 03:43
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