chore: add workflow to update supabase-js#166
Conversation
|
Warning Rate limit exceeded
⌛ 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. ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis pull request introduces a new GitHub Actions workflow file that automates the process of updating the 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 |
29605cd to
df86a7d
Compare
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/update-supabase-js.yml:
- Around line 36-37: The run step named "Update `@supabase/supabase-js`" is
interpolating `${{ inputs.version }}` directly which can allow shell injection;
change the step to pass the input via an environment variable (e.g., VERSION
from `${{ inputs.version }}`) and reference that env var in the run command (use
a quoted env variable like "$VERSION") so the shell does not evaluate arbitrary
characters from the input; update the step that currently uses `npm i
`@supabase/supabase-js`@${{ inputs.version }}` to read from the env var instead
and ensure the env mapping uses `VERSION: ${{ inputs.version }}`.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: e294c6d1-f468-44f7-bacb-8b540af16fbb
📒 Files selected for processing (1)
.github/workflows/update-supabase-js.yml
df86a7d to
82917ba
Compare
Workflow to update supabase-js