Skip to content

🩹 [Patch]: Standardize project structure and rename release workflow - #81

Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
rename-auto-release
Jan 25, 2026
Merged

🩹 [Patch]: Standardize project structure and rename release workflow#81
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
rename-auto-release

Conversation

@MariusStorhaug

@MariusStorhaugMarius Storhaug (MariusStorhaug) commented Jan 25, 2026

Copy link
Copy Markdown
Member

This PR standardizes the project structure and updates workflows to align with PSModule conventions.

Changed

  • Rename Auto-Release.yml workflow to Release.yml for consistency
  • Update release action from PSModule/Auto-Release@v1.9.5 to PSModule/Release-GHRepository@v2
  • Rename scripts/ folder to src/ to follow standard project layout
  • Update action.yml to reference scripts from new src/ location
  • Add linter workflow configuration

Removed

  • Remove unused .jscpd.json linter configuration file

Summary

This PR brings the GitHub-Script action in line with PSModule's standardized project structure. The scripts/ folder is renamed to src/ for consistency across all actions, and the release workflow is updated to use the renamed Release-GHRepository action.

Comment threadaction.yml Dismissed
Comment threadaction.yml Dismissed
Comment threadaction.yml Dismissed
Comment threadaction.yml Dismissed
@MariusStorhaugMarius Storhaug (MariusStorhaug) changed the title 🩹[Patch]: Rename Auto-Release to Release-GHRepository🩹 [Patch]: Standardize project structure and rename release workflowJan 25, 2026

CopilotAI left a comment

Copy link
Copy Markdown

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 to src/ for consistency with PSModule project structure
  • Updated workflow from Auto-Release to Release and migrated from PSModule/Auto-Release@v1.9.5 to PSModule/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
FileDescription
src/outputs.ps1Moved from scripts/ with logic for displaying script outputs
src/init.ps1Moved from scripts/ with initialization and module setup logic
src/info.ps1Moved from scripts/ with environment information display logic
src/clean.ps1Moved from scripts/ with cleanup logic for credentials
action.ymlUpdated all script path references from scripts/ to src/
.github/workflows/Release.ymlRenamed workflow, updated action reference, and added paths filter
.github/workflows/Linter.ymlDisabled JSCPD validation
.github/linters/.jscpd.jsonRemoved unused linter configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@MariusStorhaug@github-advanced-security