Skip to content

Commit e9bc190

Browse files
Bump PSModule/Process-PSModule/.github/workflows/workflow.yml from 5.5.7 to 6.1.4 (#19)
Bumps [PSModule/Process-PSModule/.github/workflows/workflow.yml](https://github.com/psmodule/process-psmodule) from 5.5.7 to 6.1.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psmodule/process-psmodule/releases">PSModule/Process-PSModule/.github/workflows/workflow.yml's releases</a>.</em></p> <blockquote> <h2>v6.1.4</h2> <h1>🪲 [Fix]: Resolve the current version on non-PR runs (bump Resolve-PSModuleVersion to v1.1.5) (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/375">#375</a>)</h1> <p>The <code>Plan</code> job no longer fails on <code>schedule</code> and <code>workflow_dispatch</code> events. <code>Resolve-PSModuleVersion</code> is bumped to <code>v1.1.5</code>, which resolves the current published version on non–pull-request events instead of throwing.</p> <ul> <li>Fixes <a href="https://redirect.github.com/psmodule/process-psmodule/issues/373">#373</a></li> </ul> <h2>Fixed: non–pull-request runs (schedule / workflow_dispatch)</h2> <p>Since v6.1.0 the <code>Plan</code> job runs <code>Resolve-Version</code> on every event, and the action threw <code>&quot;...must be run from a pull_request event&quot;</code> on non-PR events — failing the whole run (every job <code>needs: Plan</code>). <code>Resolve-PSModuleVersion</code> <code>v1.1.5</code><code>PSModule/Resolve-PSModuleVersion#10</code><code>0.0.0</code> for a module that has never been released. Pull-request and merge-to-default-branch behavior is unchanged: labels drive the bump (patch default), and the version preview on regular PRs is retained.</p> <h2>Technical Details</h2> <ul> <li><code>.github/workflows/Plan.yml</code>: bump the <code>Resolve-Version</code> pin <code>8d1dac7</code> (<code>v1.1.4</code>) → <code>6a59a88</code> (<code>v1.1.5</code>). One-line change — no <code>Plan</code> gate or <code>Test-ModuleLocal</code> fallback is needed, because v1.1.5 always populates <code>Settings.Module.Version</code> on non-PR events.</li> <li>This supersedes this PR's earlier <code>Plan.yml</code> gate + <code>999.0.0</code> fallback approach, replaced by the root-cause fix in the shared action.</li> <li>Validated: a <code>workflow_dispatch</code> self-test run on this branch completes (previously failed at <code>Plan</code>); the PR self-test resolves a version as before.</li> </ul> <h2>v6.1.3</h2> <h1>🩹 [Patch]: Bump Invoke-ScriptAnalyzer to v5.0.0 and Test-PSModule to v3.0.14 (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/380">#380</a>)</h1> <p>Brings Process-PSModule's lint/test action dependencies to their latest releases: <code>PSModule/Invoke-ScriptAnalyzer</code> v4.1.3 → v5.0.0 and <code>PSModule/Test-PSModule</code> v3.0.13 → v3.0.14. Both preserve the reusable workflow's <code>Settings.Version</code>/<code>Settings.Prerelease</code> contract for consumers.</p> <h2>Changed: Invoke-ScriptAnalyzer upgraded to v5.0.0</h2> <p>Invoke-ScriptAnalyzer v5.0.0 is a major release that repurposed its <code>Version</code>/<code>Prerelease</code> inputs to select the <strong>PSScriptAnalyzer</strong> module version and moved the GitHub bootstrap-module controls to <code>GitHubVersion</code>/<code>GitHubPrerelease</code>.</p> <p>The <code>Lint-SourceCode</code> and <code>Lint-Module</code> steps pass <code>Settings.Version</code>/<code>Settings.Prerelease</code>, which in this ecosystem select the <strong>GitHub module</strong> (the same values feed the Invoke-Pester and GitHub-Script steps). They are now wired to Invoke-ScriptAnalyzer's <code>GitHubVersion</code>/<code>GitHubPrerelease</code>, so those settings keep controlling the GitHub module exactly as before. No change to the <code>Settings</code> contract.</p> <p>With v5, the action also installs PSScriptAnalyzer itself (latest, since its <code>Version</code> is left unset) instead of relying on the runner's preinstalled copy — so consumer linting now runs against the latest PSScriptAnalyzer.</p> <h2>Changed: Test-PSModule upgraded to v3.0.14</h2> <p>Patch release; Test-PSModule v3.0.14 (which internally bumped Invoke-Pester to v5.1.0) preserves its own <code>Version</code>/<code>Prerelease</code> (GitHub module) contract, so the <code>Test-SourceCode</code> and <code>Test-Module</code> steps need only a SHA update — no input remap.</p> <h2>Technical Details</h2> <ul> <li><code>Lint-SourceCode.yml</code>, <code>Test-Module.yml</code>: <code>Invoke-ScriptAnalyzer</code> <code>6aeb1bc</code> (v4.1.3) → <code>4d633e4</code> (v5.0.0); remapped <code>Version</code> → <code>GitHubVersion</code>, <code>Prerelease</code> → <code>GitHubPrerelease</code>.</li> <li><code>Test-Module.yml</code>, <code>Test-SourceCode.yml</code>: <code>Test-PSModule</code> <code>25c9cd8</code> (v3.0.13) → <code>902c5e5</code> (v3.0.14).</li> <li>Pester and PSScriptAnalyzer versions left at the v5 defaults (latest); not wired to any <code>Settings</code> key.</li> <li>Scope: the Invoke-Pester step (<code>Test-ModuleLocal.yml</code>, still v4.2.6) is intentionally untouched.</li> <li>Label note: the <code>Settings</code> contract is preserved (hence <code>Patch</code>), but consumer linting now runs against the latest PSScriptAnalyzer — bump to <code>Minor</code> if you'd rather signal that behavior change.</li> </ul> <p>Release notes: <a href="https://github.com/PSModule/Invoke-ScriptAnalyzer/releases/tag/v5.0.0">Invoke-ScriptAnalyzer v5.0.0</a></p> <h2>v6.1.2</h2> <h1>🪲 [Fix]: Test data reaches module tests in every consumer repository (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/377">#377</a>)</h1> <p>Module test workflows now receive the caller-provided test data (secrets and variables) in every repository that consumes Process-PSModule, and version resolution once again honors the bump label on pull requests. Previously the BeforeAll, Test, and AfterAll module jobs failed at the &quot;Expose caller-provided test data&quot; step because they ran a script that shipped only inside Process-PSModule's own repository, so no consumer could actually use the <code>TestData</code> secret introduced in v6.0.0.</p> <ul> <li>Fixes <a href="https://redirect.github.com/psmodule/process-psmodule/issues/378">#378</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PSModule/Process-PSModule/commit/da180bac16b13bfbcdf08b2e4e221b5b49e5ff28"><code>da180ba</code></a> 🪲 [Fix]: Resolve the current version on non-PR runs (bump Resolve-PSModuleVer...</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/06fd9added53d9b99031cc0aef86ebfda4fd69aa"><code>06fd9ad</code></a> 🩹 [Patch]: Bump Invoke-ScriptAnalyzer to v5.0.0 and Test-PSModule to v3.0.14 ...</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/d4020f3c9c3621cebae5d8bf4ffaf10f55c1784a"><code>d4020f3</code></a> 🪲 [Fix]: Test data reaches module tests in every consumer repository (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/377">#377</a>)</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/ea19a3eb1293246d1b00e4faae1544442c3be0ec"><code>ea19a3e</code></a> 🩹 [Patch]: Render group overview pages as section landing pages (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/372">#372</a>)</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/0d7a2f0b9422ad727886d1ef79d1874ccc358fd7"><code>0d7a2f0</code></a> 🚀 [Feature]: Plan job decides version before build so tested artifact equals ...</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/54e2677755efd41a80f2138ec147cffb1a5923b2"><code>54e2677</code></a> Bump PSModule/GitHub-Script from 1.8.0 to 1.9.0 (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/367">#367</a>)</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/1514ac0ffa1168256ab0476e8ad357d6a4e8f96f"><code>1514ac0</code></a> 📖 [Docs]: Add full dependency tree with Mermaid diagrams (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/368">#368</a>)</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/364ddd65e7de2c04bc1b526974fd1a0f5097b123"><code>364ddd6</code></a> 🌟 [Major]: Fixed test secret inputs replaced by TestData (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/365">#365</a>)</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/8b7553757b50e2e265a12bc3b0bab2078c5b3fea"><code>8b75537</code></a> 🪲 [Fix]: Restore correct release versioning in the publish pipeline (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/363">#363</a>)</li> <li><a href="https://github.com/PSModule/Process-PSModule/commit/6aa7664d5ceab1314e4988ee879ebad19037662b"><code>6aa7664</code></a> 📖 [Docs]: Document the Pester major-version lock in the test pipeline (<a href="https://redirect.github.com/psmodule/process-psmodule/issues/362">#362</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psmodule/process-psmodule/compare/ce64918acc96dda73eb78f827036b794bfa6fa1a...da180bac16b13bfbcdf08b2e4e221b5b49e5ff28">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=PSModule/Process-PSModule/.github/workflows/workflow.yml&package-manager=github_actions&previous-version=5.5.7&new-version=6.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 4fcd7c8 commit e9bc190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/Process-PSModule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ permissions:
2727

2828
jobs:
2929
Process-PSModule:
30-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@ce64918acc96dda73eb78f827036b794bfa6fa1a # v5.5.7
30+
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@da180bac16b13bfbcdf08b2e4e221b5b49e5ff28 # v6.1.4
3131
secrets: inherit

0 commit comments

Comments
 (0)