Skip to content

chore(ci): sync ruleset JSON to drop Analyze (go) requirement - #17

Merged
ironystock merged 2 commits into
mainfrom
chore/ruleset-drop-codeql-required
Apr 28, 2026
Merged

ironystock merged 2 commits into
mainfrom
chore/ruleset-drop-codeql-required

Conversation

@ironystock

@ironystock ironystock commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Syncs `.github/rulesets/main-protection.json` to match the live ruleset on GitHub. Removes `Analyze (go)` from required status checks.

Why

CodeQL only runs on PRs that touch Go source. Workflow-only and docs-only PRs (like the 4 dependabot github_actions bumps #12-#15 that just opened) never trigger CodeQL — but the ruleset listed `Analyze (go)` as required. Result: those PRs were blocked on a required check that would never run.

I already updated the live ruleset via `gh api PUT` (id 15662572). This PR just brings the version-controlled file in the repo into agreement with what's actually deployed. Editing this file does not auto-reapply — re-run the API call after edits.

What's still required (6 checks)

  • `Test (ubuntu-latest)`
  • `Test (macos-latest)`
  • `Test (windows-latest)`
  • `Mod Tidy Drift`
  • `GoReleaser Config`
  • `Lint`

CodeQL still runs and shows up in PR check lists — just not blocking. Solo-dev appropriate.

Verification

  • `gh api repos/captured-ventures/rememberize-cli/rulesets/15662572` — confirmed live shape matches the file in this PR.

🤖 Generated with Claude Code


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

ironystock and others added 2 commits April 28, 2026 09:44
CodeQL only runs on PRs that touch Go source. Workflow-only and
docs-only PRs (like the 4 dependabot github_actions bumps that just
opened) never trigger CodeQL — but the prior ruleset listed
'Analyze (go)' as required. Result: those PRs were blocked on a
required check that would never run.

Live ruleset (id 15662572) updated via gh api to remove 'Analyze
(go)' from required_status_checks. Six checks remain required:

  Test (ubuntu-latest), Test (macos-latest), Test (windows-latest),
  Mod Tidy Drift, GoReleaser Config, Lint

CodeQL still runs and is still visible in the PR check list — just
not blocking. Solo-dev appropriate; we're trading a strict gate
for the ability to merge non-Go PRs without admin bypass.

This commit syncs the version-controlled ruleset JSON in the repo
to match the live ruleset. To re-apply on a fresh repo:

  gh api --method PUT \
    repos/captured-ventures/rememberize-cli/rulesets/15662572 \
    --input .github/rulesets/main-protection.json

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ironystock
ironystock merged commit a99651a into main Apr 28, 2026
7 checks passed
@ironystock
ironystock deleted the chore/ruleset-drop-codeql-required branch April 28, 2026 16:55
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