Skip to content

feat: implement issue #133 — Compliance: check-suite-auto-trigger-1236702 - #172

Merged
don-petry merged 5 commits into
mainfrom
dev-lead/issue-133-20260520-1942
May 20, 2026
Merged

feat: implement issue #133 — Compliance: check-suite-auto-trigger-1236702#172
don-petry merged 5 commits into
mainfrom
dev-lead/issue-133-20260520-1942

Conversation

@don-petry

@don-petry don-petry commented May 20, 2026

Copy link
Copy Markdown
Contributor

Closes #133

Implemented by dev-lead agent. Please review.

Summary by CodeRabbit

  • Chores
    • Updated repository configuration and settings management
    • Added file and directory exclusion patterns

Review Change Stack

Copilot AI review requested due to automatic review settings May 20, 2026 19:43
@don-petry
don-petry requested a review from a team as a code owner May 20, 2026 19:43
@coderabbitai

coderabbitai Bot commented May 20, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

This PR applies two repository configuration updates: adding .dev-lead/ to .gitignore for local development artifacts, and extending scripts/apply-repo-settings.sh to disable the Claude GitHub App's check-suite auto-trigger via GitHub API, addressing a compliance finding that was blocking auto-merge.

Changes

Repository configuration and compliance

Layer / File(s) Summary
Local development directory exclusion
.gitignore
.dev-lead/ directory is added to ignore list, preventing local development artifacts from being tracked by git.
GitHub check-suite auto-trigger compliance remediation
scripts/apply-repo-settings.sh
Script now issues a gh api PATCH request to disable Claude GitHub App (app ID 1236702) check-suite auto-trigger after verifying security and analysis settings, resolving the compliance finding about perpetually queued check suites blocking auto-merge.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Possibly related issues

  • Issue #133 (Compliance: check-suite-auto-trigger-1236702) is already linked and directly addressed by the check-suite auto-trigger disable added to scripts/apply-repo-settings.sh.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main objective: implementing a fix for issue #133 regarding disabling the Claude GitHub App's check-suite auto-trigger.
Linked Issues check ✅ Passed The code changes directly address issue #133 by disabling the Claude app's auto-trigger checks via the apply-repo-settings.sh script as required.
Out of Scope Changes check ✅ Passed The .gitignore modification for .dev-lead/ directory appears to be a cleanup item related to the dev-lead agent branch used for implementation and is within reasonable scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-lead/issue-133-20260520-1942

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates scripts/apply-repo-settings.sh to disable the Claude app's check-suite auto-trigger, preventing orphaned check suites from blocking auto-merges. It also introduces a duplicate entry in the .gitignore file, which should be removed to maintain file clarity.

Comment thread .gitignore
@@ -1 +1,2 @@
.dev-lead/
.dev-lead/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This entry is a duplicate of the one on line 1. Redundant entries in .gitignore should be removed to maintain file clarity.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Implements compliance fix for issue #133 by disabling a GitHub App check-suite auto-trigger that creates orphaned/never-completing check suites and blocks auto-merge.

Changes:

  • Adds a gh api call to disable check-suite auto-trigger for the Claude GitHub App (app id 1236702).
  • Updates .gitignore (currently adds a duplicate ignore entry).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/apply-repo-settings.sh Adds a repo settings update to disable check-suite auto-trigger for a specific GitHub App via the REST API.
.gitignore Adds an ignore entry (currently duplicated).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +60 to +70
gh api -X PATCH "repos/$REPO/check-suites/preferences" --input - <<'JSON'
{
"auto_trigger_checks": [
{
"app_id": 1236702,
"setting": false
}
]
}
JSON

Comment on lines +58 to +60
echo "Disabling check-suite auto-trigger for Claude app (id: 1236702)..."

gh api -X PATCH "repos/$REPO/check-suites/preferences" --input - <<'JSON'
@sonarqubecloud

Copy link
Copy Markdown

@don-petry
don-petry enabled auto-merge (squash) May 20, 2026 23:52
@don-petry
don-petry merged commit 9551030 into main May 20, 2026
15 of 16 checks passed
@don-petry
don-petry deleted the dev-lead/issue-133-20260520-1942 branch May 20, 2026 23:53
don-petry added a commit that referenced this pull request Aug 3, 2026
…6702 (#172)

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
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.

Compliance: check-suite-auto-trigger-1236702

3 participants