-
Notifications
You must be signed in to change notification settings - Fork 1
🩹 [Patch]: Standardize project structure and rename release workflow #81
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
Conversation
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.
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/Auto-Release@v1.9.5toPSModule/Release-GHRepository@v2.0.1 - 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 PR standardizes the project structure and updates workflows to align with PSModule conventions.
Changed
Auto-Release.ymlworkflow toRelease.ymlfor consistencyPSModule/Auto-Release@v1.9.5toPSModule/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.