Repository navigation
v1.0.0 - Initial Release
馃帀 Initial Release
Automatically syncs .NET project dependencies to Dockerfiles and GitHub workflow path filters.
Features
- Smart dependency detection - Finds all deployable projects affected by changes, including transitive dependencies
- Repository-wide analysis - Scans all
.slnfiles to build a complete dependency graph - Dockerfile updates - Generates COPY statements for all project references
- Workflow path updates - Generates path filters for efficient CI/CD triggering
- Automatic detection - Works without markers by detecting patterns in files
- Marker support - Optional markers for explicit control over where updates occur
- Directory.Build.props support - Automatically includes
Directory.Build.propsandDirectory.Packages.props - Smart Docker context detection - Automatically detects the Docker build context from existing COPY statements
- Test project filtering - Automatically skips test projects
- Circular dependency detection - Fails with clear error if cycles are found
- Legacy project warnings - Warns about .NET Framework projects
- Self-contained - Uses .NET 10 file-based scripting with no external dependencies
Prerequisites
- .NET 10 SDK or higher must be available in your workflow
Quick Start
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0'
- name: Sync Dependencies
uses: Likvido/action-dependency-sync@v1
with:
base-ref: origin/mainSee the README for full documentation.