fix(ci): repair corrupt shellcheck.yml and docker_aliases.sh issues#4
fix(ci): repair corrupt shellcheck.yml and docker_aliases.sh issues#4bakerboy448 merged 4 commits intomainfrom
Conversation
…docker_aliases from shfmt
- Replace 0x01 control char (corrupted jobs: key) in shellcheck.yml
- Add # shellcheck disable=SC2086 on 5 grp* functions — word splitting
intentional for space-separated $services list passed to docker compose
- Exclude docker_aliases.sh from shfmt — zsh ${(f)...} syntax is
incompatible with shfmt parser
|
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 33 minutes and 38 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughFixed GitHub Actions workflow YAML structure, added pre-commit exclusion for docker_aliases.sh to prevent formatting issues, and added shellcheck disable comments to allow intentional word splitting in shell function wrappers. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 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 |
- Remove $ from array index arithmetic (SC2004: unnecessary on arithmetic vars) - Apply shfmt --indent 2 --case-indent --binary-next-line formatting
…ingle before comments)
…s from servers - Rename gh → grephist (gh conflicts with GitHub CLI) - Add --color=auto --group-directories-first to ll/la/l aliases - Add dockerclean, docker-rmi-untagged, dockerstopall from server versions - Add chmod002 utility alias - SC2142 disable for docker-rmi-untagged (awk $3 not a shell positional param) - Drop server-specific dc alias path (/opt/dockergit/...)
Summary
jobs:key inshellcheck.yml, causing all CI workflow runs to fail# shellcheck disable=SC2086on 5grp*functions where$servicesword-splitting is intentional (space-separated list passed as multiple args to docker compose)docker_aliases.shfrom shfmt — contains zsh-specific${(f)...}parameter expansion that shfmt cannot parseTest plan
Summary by CodeRabbit