Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
4c3184e
🩹 [Patch]: Add options to use PR title and body for release naming an…
MariusStorhaug Jan 17, 2026
89a62e1
🩹 [Patch]: Update action references in workflows to use the releaseno…
MariusStorhaug Jan 17, 2026
9ca17a5
🩹 [Patch]: Update settings table formatting in README.md for improved…
MariusStorhaug Jan 17, 2026
72f0486
🩹 [Patch]: Add example section for configuring PR-based release notes…
MariusStorhaug Jan 17, 2026
4d5e0b2
🩹 [Patch]: Update action references in workflows to use specific vers…
MariusStorhaug Jan 17, 2026
2231898
Update workflow comments to reflect actual run conditions
MariusStorhaug Jan 18, 2026
0eaec65
🩹 [Patch]: Update Get-PSModuleSettings action reference to version 1.…
MariusStorhaug Jan 18, 2026
06c378a
🩹 [Patch]: Update Publish-Module action reference to use feature/rele…
MariusStorhaug Jan 18, 2026
29d1790
🩹 [Patch]: Remove PrereleaseLabels input from Publish-Module workflow…
MariusStorhaug Jan 18, 2026
269d0cb
Update to use Publish.Module.ReleaseType and Publish.Module.CleanupPr…
MariusStorhaug Jan 18, 2026
bb2831d
🩹 [Patch]: Remove redundant lines in release notes section of README.md
MariusStorhaug Jan 18, 2026
3d50890
🩹 [Patch]: Update Get-PSModuleSettings action reference to use 'clean…
MariusStorhaug Jan 18, 2026
ea29fbd
🩹 [Patch]: Remove redundant steps for downloading module artifact and…
MariusStorhaug Jan 18, 2026
ca019bc
🩹 [Patch]: Replace CleanupPrereleases input with AutoCleanup in Publi…
MariusStorhaug Jan 18, 2026
71887c8
Keep AutoCleanup name instead of renaming to CleanupPrereleases
MariusStorhaug Jan 18, 2026
0ca3b54
docs: Add abandoned PR cleanup documentation
MariusStorhaug Jan 18, 2026
3dc0504
chore: Update Get-PSModuleSettings to v1
MariusStorhaug Jan 18, 2026
2eb2bb9
chore: Pin Get-PSModuleSettings to SHA for v1.4.0
MariusStorhaug Jan 18, 2026
67acf00
docs: Clarify abandoned PR behavior in Publish-Module workflow
MariusStorhaug Jan 18, 2026
6832c56
Pin all GitHub Actions to commit SHAs with version comments
MariusStorhaug Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/AfterAll-ModuleLocal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Run AfterAll Teardown Scripts
if: always()
uses: PSModule/GitHub-Script@8b9d2739d6896975c0e5448d2021ae2b94b6766a # v1.7.6
uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8
with:
Name: AfterAll-ModuleLocal
ShowInfo: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/BeforeAll-ModuleLocal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
fetch-depth: 0

- name: Run BeforeAll Setup Scripts
uses: PSModule/GitHub-Script@8b9d2739d6896975c0e5448d2021ae2b94b6766a # v1.7.6
uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8
with:
Name: BeforeAll-ModuleLocal
ShowInfo: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-Docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
retention-days: 1

- name: Commit all changes
uses: PSModule/GitHub-Script@8b9d2739d6896975c0e5448d2021ae2b94b6766a # v1.7.6
uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8
with:
Debug: ${{ fromJson(inputs.Settings).Debug }}
Prerelease: ${{ fromJson(inputs.Settings).Prerelease }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-Site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
pip install mkdocs-git-committers-plugin-2
- name: Structure site
uses: PSModule/GitHub-Script@8b9d2739d6896975c0e5448d2021ae2b94b6766a # v1.7.6
uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8
with:
Debug: ${{ fromJson(inputs.Settings).Debug }}
Prerelease: ${{ fromJson(inputs.Settings).Prerelease }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Get-Settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
fetch-depth: 0

- name: Get-Settings
uses: PSModule/Get-PSModuleSettings@5be814463ddf37293196c5bd07c861f6fb617a59 # v1.0.3
uses: PSModule/Get-PSModuleSettings@28c1805d689dc5bfcfba7489e76c34a6d33d7da8 # v1.4.0
id: Get-Settings
with:
SettingsPath: ${{ inputs.SettingsPath }}
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/Publish-Module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,8 @@ jobs:
persist-credentials: false
fetch-depth: 0

- name: Download module artifact
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: module
path: ${{ fromJson(inputs.Settings).WorkingDirectory }}/outputs/module

- name: Update Microsoft.PowerShell.PSResourceGet
shell: pwsh
run: |
Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository

- name: Publish module
uses: PSModule/Publish-PSModule@6c25d139fe51b890f75c057897bd58ac344b192a # v2.0.8
uses: PSModule/Publish-PSModule@e1b338d1266dee28c6d6218756979597c8a77b7a # v2.2.0
env:
GH_TOKEN: ${{ github.token }}
with:
Expand All @@ -53,9 +42,13 @@ jobs:
AutoPatching: ${{ fromJson(inputs.Settings).Publish.Module.AutoPatching }}
DatePrereleaseFormat: ${{ fromJson(inputs.Settings).Publish.Module.DatePrereleaseFormat }}
IgnoreLabels: ${{ fromJson(inputs.Settings).Publish.Module.IgnoreLabels }}
ReleaseType: ${{ fromJson(inputs.Settings).Publish.Module.ReleaseType }}
IncrementalPrerelease: ${{ fromJson(inputs.Settings).Publish.Module.IncrementalPrerelease }}
MajorLabels: ${{ fromJson(inputs.Settings).Publish.Module.MajorLabels }}
MinorLabels: ${{ fromJson(inputs.Settings).Publish.Module.MinorLabels }}
PatchLabels: ${{ fromJson(inputs.Settings).Publish.Module.PatchLabels }}
VersionPrefix: ${{ fromJson(inputs.Settings).Publish.Module.VersionPrefix }}
UsePRTitleAsReleaseName: ${{ fromJson(inputs.Settings).Publish.Module.UsePRTitleAsReleaseName }}
UsePRBodyAsReleaseNotes: ${{ fromJson(inputs.Settings).Publish.Module.UsePRBodyAsReleaseNotes }}
UsePRTitleAsNotesHeading: ${{ fromJson(inputs.Settings).Publish.Module.UsePRTitleAsNotesHeading }}
WorkingDirectory: ${{ fromJson(inputs.Settings).WorkingDirectory }}
4 changes: 2 additions & 2 deletions .github/workflows/Publish-Site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
env:
Settings: ${{ inputs.Settings }}
steps:
- uses: actions/configure-pages@v5
- uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ jobs:
Settings: ${{ needs.Get-Settings.outputs.Settings }}

# Runs on:
# - ✅ Open/Updated PR - Publishes prerelease when all tests/coverage/build succeed
# - ✅ Merged PR - Publishes release when all tests/coverage/build succeed
# - ✅ Abandoned PR - Publishes cleanup/retraction version
# - Manual run - Publishes when all tests/coverage/build succeed
# - ✅ Open/Updated PR - Only with prerelease label: publishes prerelease version
# - ✅ Merged PR - To default branch only: publishes release when all tests/coverage/build succeed
# - ✅ Abandoned PR - Cleans up prereleases for the abandoned branch (no version published)
# - Manual run - Only runs for PR events
Publish-Module:
if: fromJson(needs.Get-Settings.outputs.Settings).Run.PublishModule && needs.Get-Settings.result == 'success' && !cancelled() && (needs.Get-TestResults.result == 'success' || needs.Get-TestResults.result == 'skipped') && (needs.Get-CodeCoverage.result == 'success' || needs.Get-CodeCoverage.result == 'skipped') && (needs.Build-Site.result == 'success' || needs.Build-Site.result == 'skipped')
uses: ./.github/workflows/Publish-Module.yml
Expand Down Expand Up @@ -295,9 +295,9 @@ jobs:

# Runs on:
# - ❌ Open/Updated PR - Site not published for PRs in progress
# - ✅ Merged PR - Deploys site to GitHub Pages after successful merge
# - ✅ Merged PR - To default branch only: deploys site to GitHub Pages
# - ❌ Abandoned PR - Site not published for abandoned changes
# - ❌ Manual run - Only publishes on merged PRs, not manual runs
# - ❌ Manual run - Only publishes on merged PRs to default branch
Publish-Site:
if: fromJson(needs.Get-Settings.outputs.Settings).Run.PublishSite && needs.Get-TestResults.result == 'success' && needs.Get-CodeCoverage.result == 'success' && needs.Build-Site.result == 'success' && !cancelled()
uses: ./.github/workflows/Publish-Site.yml
Expand Down
Loading
Loading