8000 docs(ci): document why cdk-deploy-monitor needs each permission by dkastl · Pull Request #70 · geolonia/.github · GitHub
[go: up one dir, main page]

Skip to content

docs(ci): document why cdk-deploy-monitor needs each permission - #70

Merged
dkastl merged 1 commit into
mainfrom
docs/cdk-monitor-permissions-comment
Jun 25, 2026
Merged

dkastl merged 1 commit into
mainfrom
docs/cdk-monitor-permissions-comment

Conversation

@dkastl
@dkastl dkastl commented Jun 25, 2026
Copy link
Copy Markdown
Contributor

Add inline comments to reusable-cdk-deploy-monitor.yml's permissions block explaining that id-token: write (OIDC), contents: write (commit comments), and models: read (GitHub Models analysis) are all used, plus a warning that downscoping any of them in a caller silently disables that capability.

Optional follow-up from the geolonia/geolonia-operations#191 audit (the trio nearly got mis-flagged as over-granted; downscoping it in a caller was the geolonia/geolonia-operations#179 regression). No behavior change.

The id-token/contents:write/models:read trio reads as over-granted at a
glance, but all three are used (OIDC role assumption, commit comments,
GitHub Models analysis). Add inline notes and a warning that a caller
downscoping any of them silently disables that capability, to prevent a
repeat of the regression fixed in geolonia/geolonia-operations#191.
@coderabbitai
coderabbitai Bot commented Jun 25, 2026
Copy link
Copy Markdown

Warning

Review limit reached

@dkastl, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 15 minutes and 33 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a9175818-7689-470c-a7b4-d8d930ad62de

📥 Commits

Reviewing files that changed from the base of the PR and between 676d763 and 615bce3.

📒 Files selected for processing (1)
  • .github/workflows/reusable-cdk-deploy-monitor.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/cdk-monitor-permissions-comment

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

@github-actions
Copy link
Copy Markdown
Contributor

Secret Leak Check

OK No secrets detected in this PR's diff.

@dkastl
dkastl merged commit 007ca57 into main Jun 25, 2026
2 checks passed
@dkastl
dkastl deleted the docs/cdk-monitor-permissions-comment branch June 25, 2026 22:40
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

0