-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): bump GitHub Actions dependencies #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add a skill-based plugin that uses the official Dependabot CLI to check for dependency updates across 16 supported ecosystems with automatic detection. Features: - Auto-detects package managers (npm, terraform, github-actions, etc.) - Supports targeted scans via "use dependabot for <ecosystem>" - Interactive PR creation with flexible strategy (per-ecosystem or combined) - Uses gh CLI for secure authentication Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use dynamic repo detection via gh CLI instead of hardcoded '/' - Fix example commands in README to use <owner/repo> placeholder - Add missing detection files: setup.py (Python), *.dockerfile (Docker), *.fsproj (NuGet) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The Dependabot CLI documentation specifies LOCAL_GITHUB_ACCESS_TOKEN, not GITHUB_ACCESS_TOKEN. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- actions/checkout: v4 → v6 - extractions/setup-just: v2 → v3 Updated by Dependabot CLI Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary of ChangesHello @vnz, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new 'dependabot' plugin, enabling users to check for and manage dependency updates across various ecosystems using the Dependabot CLI. It provides a structured workflow for identifying outdated dependencies and offers automated options for creating pull requests to apply these updates, thereby enhancing project maintainability and security. Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request introduces a new 'dependabot' plugin, including its marketplace entry, configuration, documentation, and a skill definition. The plugin is well-documented and provides a useful capability for checking dependency updates.
My main feedback is regarding a significant discrepancy between the pull request's title/description and its actual content. The title and description refer to bumping GitHub Actions dependencies, while the changes are about adding the new dependabot plugin. This should be corrected to accurately reflect the work done and maintain a clean git history.
Additionally, I've found some correctness issues in the documentation and skill definition regarding the usage of the dependabot-cli command for applying updates, which would lead to incorrect behavior. Please see the detailed comments.
| 2. **Run dependabot update without --local** to apply changes: | ||
| ```bash | ||
| REPO=$(gh repo view --json owner,name --jq '.owner.login + "/" + .name') | ||
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> "$REPO" | ||
| ``` | ||
| Note: The non-local mode modifies files in place. |
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.
The instructions for applying updates are incorrect and will cause the skill to fail. The current command will not modify local files, so the subsequent git commands will have nothing to commit.
- The description on line 156 ("Run dependabot update without --local") is misleading. The key difference between dry-run and apply mode for local files is omitting the trailing
.from the command, not the--localflag itself. - The command on line 159 is missing the
--localflag. It will operate on a fresh clone from GitHub, not the local working directory. - The note on line 161 is incorrect; non-local mode does not modify local files in place.
To fix this, the command must use the --local flag, and the surrounding text should be updated for clarity and correctness.
| 2. **Run dependabot update without --local** to apply changes: | |
| ```bash | |
| REPO=$(gh repo view --json owner,name --jq '.owner.login + "/" + .name') | |
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> "$REPO" | |
| ``` | |
| Note: The non-local mode modifies files in place. | |
| 2. **Run dependabot update in apply mode** to apply changes: | |
| ```bash | |
| REPO=$(gh repo view --json owner,name --jq '.owner.login + "/" + .name') | |
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> "$REPO" --local |
Note: The --local flag without a trailing directory path modifies files in place.
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> <owner/repo> --local . | ||
|
|
||
| # Apply mode (modify files) | ||
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> <owner/repo> |
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.
The command for applying updates to a local checkout is incorrect. The dependabot update command is missing the --local flag. Without it, dependabot-cli will clone the repository from GitHub instead of using the local files, which contradicts the section's goal of running locally. The command should include --local to modify the files in the current directory.
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> <owner/repo> | |
| LOCAL_GITHUB_ACCESS_TOKEN=$(gh auth token) dependabot update <ecosystem> <owner/repo> --local |
Summary
actions/checkoutfrom v4 to v6extractions/setup-justfrom v2 to v3Changes
actions/checkout v4 → v6
$RUNNER_TEMPinstead of local git configextractions/setup-just v2 → v3
Test plan
🤖 Generated with Claude Code using Dependabot CLI