Repository navigation
chore(ci): sync ruleset JSON to drop Analyze (go) requirement - #17
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
CodeQL still runs and shows up in PR check lists — just not blocking. Solo-dev appropriate.
Verification
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmithwith what you need.