-
Notifications
You must be signed in to change notification settings - Fork 56
feat: Dont do previews for dependabot #579
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
WalkthroughA conditional check was added to the GitHub Actions workflow file to prevent the preview deployment job from running when the workflow is triggered by Dependabot. This ensures that preview deployments are skipped for pull requests created by Dependabot. Changes
Poem
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/preview.yml (1)
17-17: Minor style nit – wrap the expression in${{ … }}for consistencyWhile job-level
if:supports bare expressions, most workflows wrap them:-if: github.actor != 'dependabot[bot]' +if: ${{ github.actor != 'dependabot[bot]' }}This makes it obvious to readers that the value is an evaluated expression rather than a static string.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/preview.yml(1 hunks)
🔇 Additional comments (1)
.github/workflows/preview.yml (1)
16-18: ```shell
#!/bin/bash
set -e
echo "Listing .github/workflows directory"
ls .github/workflows
echo "--------------"
echo "Showing first 200 lines of preview.yml"
sed -n '1,200p' .github/workflows/preview.yml || echo "File not found"</details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
jcstein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
Previews will fail for Dependabot because it is seen as an untrusted source, let's just skip them.
Summary by CodeRabbit