Skip to content

Commit 98413aa

Browse files
committed
fix: improve env variable scoping in workflow
Move AI_REVIEW_RATE_LIMIT_MINUTES to the step that actually uses it (check_recent_review) instead of the ai_review step. This improves readability and makes the variable scope more explicit.
1 parent 12f257a commit 98413aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/ai-pr-review.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ jobs:
177177
id: ai_review
178178
uses: stillrivercode/stillriver-ai-workflows@v1
179179
env:
180-
AI_REVIEW_RATE_LIMIT_MINUTES: ${{ vars.AI_REVIEW_RATE_LIMIT_MINUTES || '1' }}
181180
AI_ENABLE_INLINE_COMMENTS: ${{ vars.AI_ENABLE_INLINE_COMMENTS || 'true' }}
182181
with:
183182
github_token: ${{ github.token }}

0 commit comments

Comments
 (0)