🩹 [Patch]: Standardize project structure and rename release workflow#81
Merged
MariusStorhaug merged 4 commits intomainfrom Jan 25, 2026
Merged
🩹 [Patch]: Standardize project structure and rename release workflow#81MariusStorhaug merged 4 commits intomainfrom
MariusStorhaug merged 4 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR standardizes the GitHub-Script action's project structure by renaming the scripts/ folder to src/ to align with PSModule conventions, and updates the release workflow to use the renamed action and improved naming.
Changes:
- Renamed
scripts/folder tosrc/for consistency with PSModule project structure - Updated workflow from
Auto-ReleasetoReleaseand migrated fromPSModule/[email protected]toPSModule/[email protected] - Disabled JSCPD validation in linter and removed its configuration file
Reviewed changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/outputs.ps1 | Moved from scripts/ with logic for displaying script outputs |
| src/init.ps1 | Moved from scripts/ with initialization and module setup logic |
| src/info.ps1 | Moved from scripts/ with environment information display logic |
| src/clean.ps1 | Moved from scripts/ with cleanup logic for credentials |
| action.yml | Updated all script path references from scripts/ to src/ |
| .github/workflows/Release.yml | Renamed workflow, updated action reference, and added paths filter |
| .github/workflows/Linter.yml | Disabled JSCPD validation |
| .github/linters/.jscpd.json | Removed unused linter configuration |
💡 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.
This PR standardizes the project structure and updates workflows to align with PSModule conventions.
Changed
Auto-Release.ymlworkflow toRelease.ymlfor consistencyPSModule/[email protected]toPSModule/Release-GHRepository@v2scripts/folder tosrc/to follow standard project layoutaction.ymlto reference scripts from newsrc/locationRemoved
.jscpd.jsonlinter configuration fileSummary
This PR brings the GitHub-Script action in line with PSModule's standardized project structure. The
scripts/folder is renamed tosrc/for consistency across all actions, and the release workflow is updated to use the renamedRelease-GHRepositoryaction.