ci: add fast docs validation workflow#134
Conversation
|
Warning Review limit reached
More reviews will be available in 50 minutes and 9 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new GitHub Actions workflow ChangesValidate Documentation CI Workflow
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/validate-docs.yml:
- Line 56: Pin all tag-based action references to immutable full commit SHAs to
strengthen supply-chain integrity. In .github/workflows/validate-docs.yml,
replace the tag-based references at lines 56 (actions/checkout@v6), 124, and 127
with their corresponding full commit SHAs. For each location, change the uses
directive from the format `action@tag` to `action@<full-commit-sha>`, and
optionally add a comment on the same line noting which tag it corresponds to for
readability and maintainability.
- Around line 56-58: Both actions/checkout@v6 steps in the validate-docs
workflow have default credential persistence enabled, which unnecessarily
exposes the authentication token to subsequent steps. Add the parameter
persist-credentials: false to the with section of each checkout step to disable
token persistence and reduce security exposure when Git authentication is not
needed for the workflow operations.
- Around line 88-95: Add validation to ensure all locale values extracted from
both input_locales and changed_files match the pattern [A-Za-z0-9-]+ before they
are used. Apply this validation in the code blocks where locales are parsed from
input_locales (by stripping and splitting) and where they are extracted from
changed file paths by appending to the locales list. Additionally, pass the
validated locales to the shell command via environment variables instead of
direct string interpolation in the run command, which prevents shell
metacharacters from being interpreted as code even if validation is somehow
bypassed.
🪄 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: 9efd94af-6044-425a-a734-fc3f2ba9087d
📒 Files selected for processing (1)
.github/workflows/validate-docs.yml
|
CLAIM_RELEASED reason=worker_complete runner=superdav42 ts=2026-06-16T17:57:24Z aidevops_version=3.20.84 opencode_version=1.17.7 |
Summary
Verification
aidevops.sh v3.20.80 plugin for OpenCode v1.17.7 with gpt-5.5 Merged via PR #134 to main. |
Summary
Validate Documentationworkflow for PRs and non-main branch pushesi18n/{locale}paths and builds English plus changed locales instead of every localevalidate-docs-*concurrency group so validation does not block the deploy workflowVerification
git diff --check.github/workflows/validate-docs.ymlwith Python/PyYAMLactionlintwas not available locallyaidevops.sh v3.20.80 plugin for OpenCode v1.17.7 with gpt-5.5
Summary by CodeRabbit
Release Notes