-
-
Notifications
You must be signed in to change notification settings - Fork 155
Update update-dependencies.yml #431
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
base: main
Are you sure you want to change the base?
Conversation
Also check nfproj as they might not have solutions.
WalkthroughThe update-dependencies GitHub Actions workflow now scans both .sln and .nfproj files by expanding the solutionsToCheck glob from '.sln' to '.sln, *.nfproj'. All other workflow inputs and behavior remain unchanged. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal). Please share your feedback with us on this Discord post. 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. 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.
Actionable comments posted: 0
🧹 Nitpick comments (3)
.github/workflows/update-dependencies.yml (3)
22-22
: Confirm delimiter handling for multiple globs in solutionsToCheck.
nanodu
documentssolutionsToCheck
as “string path(s)” but doesn’t specify a delimiter;exclusionList
is explicitly comma‑separated. Comma with a space may pass a leading space to the 2nd token if the reusable workflow splits on comma. Safer options:
- Minimal: drop the space after the comma.
- Robust: use a multiline scalar so consumers can split on newlines.
Apply one of the diffs:
- solutionsToCheck: '*.sln, *.nfproj' + solutionsToCheck: '*.sln,*.nfproj'or
- solutionsToCheck: '*.sln, *.nfproj' + solutionsToCheck: | + *.sln + *.nfprojReference on inputs: solutionsToCheck (“string path(s)”) and exclusionList (“Comma separated list”). (github.com)
10-11
: Cron comment doesn’t match the schedule.Comment says 00:00 UTC, cron is 03:00 UTC. Align the comment:
- # At 00:00 UTC every Friday. + # At 03:00 UTC every Friday.
19-19
: Pin the reusable workflow to a tag or full commit SHA.Using @main is mutable and risks supply‑chain drift. Prefer a release tag or (best) a full commit SHA. (docs.github.com)
- uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main + uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@<commit-sha> # or a trusted tag
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/update-dependencies.yml
(1 hunks)
🔇 Additional comments (2)
.github/workflows/update-dependencies.yml (2)
23-23
: Verify exclusion names match what the action expects.Docs say exclusionList is a comma‑separated list of solution names; if the workflow now also scans .nfproj files, confirm the upstream logic applies exclusions to project files too, or adjust values to match how the reusable workflow filters. (github.com)
25-25
: Ensure NuGet config path and casing are correct.Repo search returned no matches for NuGet.config or Nuget.config — confirm the exact filename (casing) and whether the path is resolved from the repo root or from workingDirectory, then update .github/workflows/update-dependencies.yml (line 25:
nugetConfig: Nuget.config
) to the exact path/casing.
Description
Fix for some samples not having up-to-date nugets
Motivation and Context
Also check nfproj as they might not have solutions.
How Has This Been Tested?
Screenshots
Types of changes
Checklist:
Summary by CodeRabbit