refactor: reorganize project structure and workflows#12
Merged
Conversation
- Moved `Invex.Tools.ArtifactClean` to `src/` folder. - Introduced new GitHub workflows: `Cleanup Prereleases` and `Dependabot Enable auto-merge`. - Updated `Validate.yml` and `Build.yml` workflows for improved configuration and compatibility. - Replaced outdated `DecSm.Atom` references with `Invex.Atom` package references. - Simplified `Directory.Build.props` inclusion paths. - Refactored `Invex.Tools.ArtifactClean` implementation for clearer, modularized code.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restructures the repository (moving Invex.Tools.ArtifactClean under src/) and modernizes the build/automation setup by updating Atom build definitions and adding new GitHub workflows for prerelease cleanup and Dependabot auto-merge.
Changes:
- Refactors
Invex.Tools.ArtifactCleaninto a modular command-based tool and relocates it undersrc/. - Reworks Atom build definitions (replacing legacy targets/build classes with a consolidated
IBuildworkflow definition). - Updates/adds GitHub workflows (Build/Validate updates, plus new Cleanup Prereleases and Dependabot auto-merge workflows) and refreshes Dependabot configuration.
Reviewed changes
Copilot reviewed 12 out of 16 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Invex.Tools.ArtifactClean/Program.cs | New tool entrypoint wiring ConsoleAppFramework commands. |
| src/Invex.Tools.ArtifactClean/Invex.Tools.ArtifactClean.csproj | Defines the tool packaging/AOT targeting and dependencies. |
| src/Invex.Tools.ArtifactClean/Commands.cs | Implements clean logic (dotnet clean/restore + recursive bin/obj deletion). |
| src/Invex.Tools.ArtifactClean/_usings.cs | Adds global usings for the tool project. |
| Invex.Tools.slnx | Updates solution structure to include /src/ folder/project path. |
| Directory.Build.props | Adjusts shared packaging metadata and packed asset includes. |
| .github/workflows/Validate.yml | Updates action versions, command invocation, adds WaitForCopilotReview job. |
| .github/workflows/Dependabot Enable auto-merge.yml | Adds workflow to auto-approve/enable auto-merge for Dependabot PRs. |
| .github/workflows/Cleanup Prereleases.yml | Adds manual workflow to unlist prereleases below a specified version. |
| .github/workflows/Build.yml | Updates triggers/steps, artifact handling, and adds docs build/publish jobs. |
| .github/dependabot.yml | Refines schedule/grouping/registry settings for NuGet updates. |
| _atom/ITargets.cs | Removes legacy target interface. |
| _atom/IBuild.cs | Introduces consolidated Atom build/workflow definition including new workflows/targets. |
| _atom/Build.cs | Removes legacy BuildDefinition implementation. |
| _atom/_usings.cs | Removes old DecSm.Atom dotnet module using. |
| _atom/_atom.csproj | Switches to Invex.* Atom packages and adds packed assets. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Invex.Tools.ArtifactCleantosrc/folder.Cleanup PrereleasesandDependabot Enable auto-merge.Validate.ymlandBuild.ymlworkflows for improved configuration and compatibility.DecSm.Atomreferences withInvex.Atompackage references.Directory.Build.propsinclusion paths.Invex.Tools.ArtifactCleanimplementation for clearer, modularized code.