Skip to content

Conversation

blockiosaurus
Copy link
Contributor

Enable automated updates for Metaplex dependencies

This PR adds Dependabot configuration to enable automated weekly updates for @metaplex-foundation/* dependencies.

The configuration will:

  • Check for updates weekly on Mondays
  • Create PRs for outdated Metaplex dependencies
  • Help keep dependencies up-to-date with minimal manual intervention

Copy link

vercel bot commented Jul 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mpl-core-js-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 20, 2025 11:37am

Copy link

coderabbitai bot commented Jul 20, 2025

Summary by CodeRabbit

  • Chores
    • Minor formatting update to configuration file with no impact on functionality.

Walkthrough

A newline character at the end of the .github/dependabot.yml file was removed. No functional content or configuration within the file was altered.

Changes

File(s) Change Summary
.github/dependabot.yml Removed trailing newline; no config changes

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7022f76 and cf456f5.

📒 Files selected for processing (1)
  • .github/dependabot.yml (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.37.1)
.github/dependabot.yml

[error] 12-12: no new line character at the end of file

(new-line-at-end-of-file)

allow:
# Starting slow by only checking our own packages for updates.
- dependency-name: '@metaplex-foundation/*'
- dependency-name: '@metaplex-foundation/*'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Re-add the trailing newline for lint & POSIX compliance

YAMLlint is erroring (new-line-at-end-of-file). A final newline is also a longstanding POSIX convention that a lot of tooling assumes.

   - dependency-name: '@metaplex-foundation/*'
+

Verify CI passes after restoring the newline.


🏁 Script executed:

#!/bin/bash
# Check if .github/dependabot.yml ends with a trailing newline
set -e

file_path=".github/dependabot.yml"

# Exit if file not found
if [ ! -f "$file_path" ]; then
  echo "ERROR: $file_path not found"
  exit 1
fi

# Get the last byte of the file in hex
last_byte=$(tail -c1 "$file_path" | od -An -t x1 | tr -d ' [:space:]')

echo "Last byte (hex): $last_byte"

if [ "$last_byte" = "0a" ]; then
  echo "Result: file ends with a newline"
else
  echo "Result: file is missing a trailing newline"
fi

Length of output: 421


🏁 Script executed:

#!/usr/bin/env bash
# Verify trailing newline in .github/dependabot.yml using Python
file=".github/dependabot.yml"
if [ ! -f "$file" ]; then
  echo "ERROR: $file not found"
  exit 1
fi

python3 - "$file" << 'EOF'
import sys
path = sys.argv[1]
try:
    with open(path, 'rb') as f:
        f.seek(0, 2)
        if f.tell() == 0:
            print("missing newline")
            sys.exit(0)
        f.seek(-1, 2)
        last = f.read(1)
        print("newline" if last == b'\n' else "missing newline")
except Exception as e:
    print(f"ERROR: {e}")
    sys.exit(1)
EOF

Length of output: 120


Add missing trailing newline to .github/dependabot.yml

The file currently ends without a final newline, causing YAMLlint errors (new-line-at-end-of-file) and violating POSIX conventions. Please restore the trailing newline:

• File: .github/dependabot.yml
• Verified missing final newline via script

--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ Lines 1–end
-      - dependency-name: '@metaplex-foundation/*'
+      - dependency-name: '@metaplex-foundation/*'
+  ← add a single newline here

After adding, confirm that CI passes.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- dependency-name: '@metaplex-foundation/*'
- dependency-name: '@metaplex-foundation/*'
🧰 Tools
🪛 YAMLlint (1.37.1)

[error] 12-12: no new line character at the end of file

(new-line-at-end-of-file)

🤖 Prompt for AI Agents
In .github/dependabot.yml at line 12, the file is missing a trailing newline at
the end, which causes YAMLlint errors and violates POSIX conventions. Add a
single newline character at the end of the file after line 12 to fix this issue,
then verify that the CI passes successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant