-
-
Notifications
You must be signed in to change notification settings - Fork 636
Configure Dependabot #2147
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
Open
alexeyr-ci2
wants to merge
1
commit into
master
Choose a base branch
from
alexeyr/configure-dependabot
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Configure Dependabot #2147
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| # Dependabot configuration | ||
| # - Only security updates (version updates disabled via open-pull-requests-limit: 0) | ||
| # - Dependencies grouped within each ecosystem/directory | ||
| # - 3-day minimum release age for new versions (so they can't be unpublished in NPM) | ||
| # - Labels: "dependencies" (default), language-specific (javascript/ruby/github-actions), "full-ci" | ||
| # | ||
| # Note: Root pnpm workspace (/) covers packages/react-on-rails, etc. | ||
| # Dummy apps have separate lock files and are listed explicitly. | ||
|
|
||
| version: 2 | ||
|
|
||
| updates: | ||
| # NPM/PNPM packages - root workspace and dummy apps | ||
| - package-ecosystem: "npm" | ||
| directories: | ||
| - "/" | ||
| - "/react_on_rails/spec/dummy" | ||
| - "/react_on_rails_pro/spec/dummy" | ||
| schedule: | ||
| interval: "weekly" | ||
| labels: | ||
| - "dependencies" | ||
| - "javascript" | ||
| - "full-ci" | ||
| # Disable version update PRs - only security updates will be created | ||
| open-pull-requests-limit: 0 | ||
| cooldown: | ||
| default-days: 3 | ||
| groups: | ||
| npm-security: | ||
| applies-to: security-updates | ||
| patterns: | ||
| - "*" | ||
|
|
||
| # Ruby gems - Open source and Pro gems (including dummy apps) | ||
| # Root directory is not included because it reuses the Gemfile from react_on_rails | ||
| - package-ecosystem: "bundler" | ||
| directories: | ||
| - "/react_on_rails" | ||
| - "/react_on_rails/spec/dummy" | ||
| - "/react_on_rails_pro" | ||
| - "/react_on_rails_pro/spec/dummy" | ||
| - "/react_on_rails_pro/spec/execjs-compatible-dummy" | ||
| schedule: | ||
| interval: "weekly" | ||
| labels: | ||
| - "dependencies" | ||
| - "ruby" | ||
| - "full-ci" | ||
| open-pull-requests-limit: 0 | ||
| cooldown: | ||
| default-days: 3 | ||
| groups: | ||
| bundler-security: | ||
| applies-to: security-updates | ||
| patterns: | ||
| - "*" | ||
|
|
||
| # GitHub Actions | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| labels: | ||
| - "dependencies" | ||
| - "github-actions" | ||
| - "full-ci" | ||
| open-pull-requests-limit: 0 | ||
| cooldown: | ||
| default-days: 3 | ||
| groups: | ||
| actions-security: | ||
| applies-to: security-updates | ||
| patterns: | ||
| - "*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: shakacode/react_on_rails
Length of output: 2475
🏁 Script executed:
Repository: shakacode/react_on_rails
Length of output: 2316
Update
.github/dependabot.ymlto complete Phase 6 restructuring.The
.github/dependabot.ymlfile exists but does not match the documented Phase 6 changes (lines 479-482). The current configuration still includes/react_on_rails_proand/react_on_railsbundler entries, but per the Phase 6 task list it should:/react_on_rails_probundler entry (directory no longer exists)/(root now contains both gemspecs)Sync the actual configuration file with the final state documented at lines 759-792.
🧰 Tools
🪛 LanguageTool
[uncategorized] ~479-~479: The official name of this software platform is spelled with a capital “H”.
Context: ...e paths and dependencies - [ ] Update
.github/dependabot.ymlto reflect final dire...(GITHUB)
🤖 Prompt for AI Agents
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.
Phase 6 is not completed yes,
react_on_rails_prostill exists. This is added instructions for the future.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.
@alexeyr-ci2, thank you for the clarification! You're absolutely right—this documentation is providing instructions for when Phase 6 is actually implemented in the future. The task list at lines 479-482 correctly guides implementers to update
.github/dependabot.ymlwhen they execute Phase 6 and restructure the Ruby gems to their final layout.Since
react_on_rails_pro/still exists and Phase 6 hasn't been completed yet, the current state of.github/dependabot.ymlis appropriate for the current repository structure. The documentation properly prepares for the future migration step when the directory will be removed and both gemspecs will reside at the root.The planning documentation looks good as-is! 👍
🧠 Learnings used