ci: Exempt Dependabot PRs from PR title validation#113
Conversation
Bumps the actions-official group with 1 update: [actions/github-script](https://github.com/actions/github-script). Updates `actions/github-script` from 8 to 9 - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@v8...v9) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-official ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the actions-file-detection group with 1 update: [step-security/changed-files](https://github.com/step-security/changed-files). Updates `step-security/changed-files` from 47.0.1 to 47.0.5 - [Release notes](https://github.com/step-security/changed-files/releases) - [Commits](step-security/changed-files@v47.0.1...v47.0.5) --- updated-dependencies: - dependency-name: step-security/changed-files dependency-version: 47.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-file-detection ... Signed-off-by: dependabot[bot] <support@github.com>
Dependabot PR titles follow its own format (e.g. "ci: bump actions/foo
from 1 to 2") which cannot be customised to match the project's
convention of requiring a capital letter after the prefix.
Adds `if: github.actor != 'dependabot[bot]'` to the `validate` job in
`validate_pr_title.yml` so the check is skipped for Dependabot PRs.
The gate job already treats `skipped` as success, so branch protection
is unaffected.
Also adds the missing `permissions: {}` to the gate job.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 14 minutes and 11 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThe GitHub Actions workflow for PR title validation is modified to skip validation for Dependabot-created pull requests and to explicitly remove default token permissions from the all-checks-passed job. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
…ons-official-556be15a16 ci: bump actions/github-script from 8 to 9 in the actions-official group
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/validate_pr_title.yml:
- Around line 44-45: Replace the Dependabot exemption condition that uses the
workflow trigger actor with the PR author login: update the `if: github.actor !=
'dependabot[bot]'` expression to check `github.event.pull_request.user.login`
instead so the exemption reliably detects Dependabot-created PRs (use the PR
author identity rather than the workflow `github.actor`).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9e667f06-f269-432d-88d1-8a768ccbb938
📒 Files selected for processing (1)
.github/workflows/validate_pr_title.yml
…ons-file-detection-d6a74a8ce0 ci: bump step-security/changed-files from 47.0.1 to 47.0.5 in the actions-file-detection group
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…into v9999.99.9
Dependabot PR titles follow its own format (e.g. "ci: bump actions/foo from 1 to 2") which cannot be customised to match the project's convention of requiring a capital letter after the prefix.
Adds
if: github.actor != 'dependabot[bot]'to thevalidatejob invalidate_pr_title.ymlso the check is skipped for Dependabot PRs. The gate job already treatsskippedas success, so branch protection is unaffected.Also adds the missing
permissions: {}to the gate job.Summary by CodeRabbit