Tags: PSModule/Process-PSModule
Tags
Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 (#346) Bumps [PSModule/GitHub-Script](https://github.com/psmodule/github-script) from 1.7.10 to 1.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psmodule/github-script/releases">PSModule/GitHub-Script's releases</a>.</em></p> <blockquote> <h2>v1.8.0</h2> <h1>🚀 [Minor]: GitHub API rate limit details now available in action logs (<a href="https://redirect.github.com/psmodule/github-script/issues/89">#89</a>)</h1> <p>GitHub API rate limit consumption is now visible directly in the action logs. When enabled, rate limit details - including remaining quota, limit, used count, and reset time for all resource categories - are displayed before and after the user script runs, making it easy to see exactly how many API calls a workflow step consumed.</p> <ul> <li>Fixes <a href="https://redirect.github.com/psmodule/github-script/issues/88">#88</a></li> </ul> <h2>New: Rate limit visibility in action logs</h2> <p>A new <code>ShowRateLimit</code> input (default: <code>'false'</code>) controls whether rate limit information appears in the logs. When set to <code>'true'</code>, a <strong>Rate Limits</strong> LogGroup appears inside the Info fence before the user script, and another <strong>Rate Limits</strong> LogGroup appears inside the Outputs fence after it.</p> <pre lang="yaml"><code>- uses: PSModule/GitHub-Script@v1 with: ShowRateLimit: 'true' Script: | Get-GitHubRepository -Owner PSModule -Name GitHub-Script </code></pre> <p>The output includes a formatted table of all resource categories returned by <code>Get-GitHubRateLimit</code> (core, search, graphql, etc.), each showing <code>Limit</code>, <code>Used</code>, <code>Remaining</code>, <code>ResetsAt</code>, and <code>ResetsIn</code>.</p> <p>When the input is omitted or set to <code>'false'</code> (the default), no rate limit output appears.</p> <p>If <code>ShowRateLimit</code> is enabled but <code>ShowInfo</code> or <code>ShowOutput</code> is off, the corresponding fence still renders with just the rate limit content inside. For auth types that do not support <code>Get-GitHubRateLimit</code> (for example GitHub App contexts), a warning is shown instead of failing.</p> <h2>Technical Details</h2> <ul> <li>Added <code>ShowRateLimit</code> input to <code>action.yml</code> with <code>required: false</code> and <code>default: 'false'</code>.</li> <li>Added <code>PSMODULE_GITHUB_SCRIPT_INPUT_ShowRateLimit</code> environment variable to the composite step.</li> <li>Created <code>src/ratelimit.ps1</code> as a helper script (no fence borders) that checks the guard and renders a single <code>Rate Limits</code> LogGroup.</li> <li><code>src/ratelimit.ps1</code> now calls <code>Get-GitHubRateLimit -ErrorAction Stop</code> so non-terminating errors are caught reliably in unsupported auth contexts.</li> <li><code>src/ratelimit.ps1</code> explicitly selects <code>Name</code>, <code>Limit</code>, <code>Used</code>, <code>Remaining</code>, <code>ResetsAt</code>, and <code>ResetsIn</code> before formatting to keep columns deterministic.</li> <li>Modified <code>src/info.ps1</code>: adjusted the early-return guard to also consider <code>ShowRateLimit</code>, wrapped existing LogGroups in <code>if ($showInfo)</code>, and calls <code>ratelimit.ps1</code> before the fence close.</li> <li>Modified <code>src/outputs.ps1</code>: adjusted the early-return guard to also consider <code>ShowRateLimit</code>, wrapped existing output LogGroups in <code>if ($result)</code>, and calls <code>ratelimit.ps1</code> before the fence close.</li> <li>The <code>action.yml</code> run block remains in the same flow, while <code>info.ps1</code> and <code>outputs.ps1</code> invoke the helper internally.</li> <li>Enabled <code>ShowRateLimit: true</code> across all Action-Test scenarios in <code>.github/workflows/TestWorkflow.yml</code>, including Basic, WithScript path variants, Commands + Outputs, Matrix Creator, WithoutToken, WithPAT, WithUserFGPAT, WithOrgFGPAT, GitHubAppEnt, GitHubAppOrg + quoted inputs, WithKeyVaultKeyReference, WithKeyVaultKeyReferenceLatest, and PreserveCredentials False.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PSModule/GitHub-Script/commit/1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a"><code>1ee97bb</code></a> 🚀 [Minor]: GitHub API rate limit details now available in action logs (<a href="https://redirect.github.com/psmodule/github-script/issues/89">#89</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/8649c467ee0b68264cb1278a301db734e7be0b3d"><code>8649c46</code></a> Bump azure/login from 2.3.0 to 3.0.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/86">#86</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/e3b0111c93df3686061cb2c65054f9216ed265e5"><code>e3b0111</code></a> ⚙️ [Maintenance]: Add afterall to codespell ignore words list (<a href="https://redirect.github.com/psmodule/github-script/issues/85">#85</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/2d8efc6a869808747c9e72976542be4d3464d7e0"><code>2d8efc6</code></a> Bump super-linter/super-linter from 8.4.0 to 8.5.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/84">#84</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/611c5dcb30160e3797af3a3789f7cc0d2738ec9d"><code>611c5dc</code></a> ⚙️ [Maintenance]: Update super-linter to v8.4.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/83">#83</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/99556fc49acee71068e89a8ad67f434b467da83c"><code>99556fc</code></a> ⚙️ [Maintenance]: Align workflows across action repositories (<a href="https://redirect.github.com/psmodule/github-script/issues/82">#82</a>)</li> <li>See full diff in <a href="https://github.com/psmodule/github-script/compare/0097f3bbe3f413f3b577b9bcc600727b0ca3201a...1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: Marius Storhaug <marstor@hotmail.com>
Bump PSModule/Build-PSModule from 4.0.14 to 4.0.15 (#345) Bumps [PSModule/Build-PSModule](https://github.com/psmodule/build-psmodule) from 4.0.14 to 4.0.15. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psmodule/build-psmodule/releases">PSModule/Build-PSModule's releases</a>.</em></p> <blockquote> <h2>v4.0.15</h2> <h1>Bump actions/upload-artifact from 7.0.0 to 7.0.1 (<a href="https://redirect.github.com/psmodule/build-psmodule/issues/134">#134</a>)</h1> <p>Bumps <a href="https://github.com/actions/upload-artifact">actions/upload-artifact</a> from 7.0.0 to 7.0.1.</p> <!-- raw HTML omitted --> <p><a href="https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores"><img src="https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=7.0.0&new-version=7.0.1" alt="Dependabot compatibility score" /></a></p> <p>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 <code>@dependabot rebase</code>.</p> <hr /> <!-- raw HTML omitted --> <p>You can trigger Dependabot actions by commenting on this PR:</p> <ul> <li><code>@dependabot rebase</code> will rebase this PR</li> <li><code>@dependabot recreate</code> will recreate this PR, overwriting any edits that have been made to it</li> <li><code>@dependabot show <dependency name> ignore conditions</code> will show all of the ignore conditions of the specified dependency</li> <li><code>@dependabot ignore this major version</code> will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)</li> <li><code>@dependabot ignore this minor version</code> will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PSModule/Build-PSModule/commit/3b368fe7d4cd5872feddfa2ac3dacfb5dfd0ab13"><code>3b368fe</code></a> Bump actions/upload-artifact from 7.0.0 to 7.0.1 (<a href="https://redirect.github.com/psmodule/build-psmodule/issues/134">#134</a>)</li> <li>See full diff in <a href="https://github.com/psmodule/build-psmodule/compare/345728124d201f371a8b0f1aacb98f89000a06dc...3b368fe7d4cd5872feddfa2ac3dacfb5dfd0ab13">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: Marius Storhaug <marstor@hotmail.com>
Bump PSModule/Invoke-Pester from 4.2.4 to 4.2.5 (#344) Bumps [PSModule/Invoke-Pester](https://github.com/psmodule/invoke-pester) from 4.2.4 to 4.2.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psmodule/invoke-pester/releases">PSModule/Invoke-Pester's releases</a>.</em></p> <blockquote> <h2>v4.2.5</h2> <h1>Bump actions/upload-artifact from 7.0.0 to 7.0.1 (<a href="https://redirect.github.com/psmodule/invoke-pester/issues/63">#63</a>)</h1> <p>Bumps <a href="https://github.com/actions/upload-artifact">actions/upload-artifact</a> from 7.0.0 to 7.0.1.</p> <!-- raw HTML omitted --> <p><a href="https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores"><img src="https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=7.0.0&new-version=7.0.1" alt="Dependabot compatibility score" /></a></p> <p>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 <code>@dependabot rebase</code>.</p> <hr /> <!-- raw HTML omitted --> <p>You can trigger Dependabot actions by commenting on this PR:</p> <ul> <li><code>@dependabot rebase</code> will rebase this PR</li> <li><code>@dependabot recreate</code> will recreate this PR, overwriting any edits that have been made to it</li> <li><code>@dependabot show <dependency name> ignore conditions</code> will show all of the ignore conditions of the specified dependency</li> <li><code>@dependabot ignore this major version</code> will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)</li> <li><code>@dependabot ignore this minor version</code> will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PSModule/Invoke-Pester/commit/266d1cf2532f572470b7c4463fa1072f2bfe4455"><code>266d1cf</code></a> Bump actions/upload-artifact from 7.0.0 to 7.0.1 (<a href="https://redirect.github.com/psmodule/invoke-pester/issues/63">#63</a>)</li> <li>See full diff in <a href="https://github.com/psmodule/invoke-pester/compare/abddf7bef0d0614d7ca322036af6a06ee0fb4d44...266d1cf2532f572470b7c4463fa1072f2bfe4455">compare view</a></li> </ul> </details> <br /> [](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>
Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 (#346) Bumps [PSModule/GitHub-Script](https://github.com/psmodule/github-script) from 1.7.10 to 1.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psmodule/github-script/releases">PSModule/GitHub-Script's releases</a>.</em></p> <blockquote> <h2>v1.8.0</h2> <h1>🚀 [Minor]: GitHub API rate limit details now available in action logs (<a href="https://redirect.github.com/psmodule/github-script/issues/89">#89</a>)</h1> <p>GitHub API rate limit consumption is now visible directly in the action logs. When enabled, rate limit details - including remaining quota, limit, used count, and reset time for all resource categories - are displayed before and after the user script runs, making it easy to see exactly how many API calls a workflow step consumed.</p> <ul> <li>Fixes <a href="https://redirect.github.com/psmodule/github-script/issues/88">#88</a></li> </ul> <h2>New: Rate limit visibility in action logs</h2> <p>A new <code>ShowRateLimit</code> input (default: <code>'false'</code>) controls whether rate limit information appears in the logs. When set to <code>'true'</code>, a <strong>Rate Limits</strong> LogGroup appears inside the Info fence before the user script, and another <strong>Rate Limits</strong> LogGroup appears inside the Outputs fence after it.</p> <pre lang="yaml"><code>- uses: PSModule/GitHub-Script@v1 with: ShowRateLimit: 'true' Script: | Get-GitHubRepository -Owner PSModule -Name GitHub-Script </code></pre> <p>The output includes a formatted table of all resource categories returned by <code>Get-GitHubRateLimit</code> (core, search, graphql, etc.), each showing <code>Limit</code>, <code>Used</code>, <code>Remaining</code>, <code>ResetsAt</code>, and <code>ResetsIn</code>.</p> <p>When the input is omitted or set to <code>'false'</code> (the default), no rate limit output appears.</p> <p>If <code>ShowRateLimit</code> is enabled but <code>ShowInfo</code> or <code>ShowOutput</code> is off, the corresponding fence still renders with just the rate limit content inside. For auth types that do not support <code>Get-GitHubRateLimit</code> (for example GitHub App contexts), a warning is shown instead of failing.</p> <h2>Technical Details</h2> <ul> <li>Added <code>ShowRateLimit</code> input to <code>action.yml</code> with <code>required: false</code> and <code>default: 'false'</code>.</li> <li>Added <code>PSMODULE_GITHUB_SCRIPT_INPUT_ShowRateLimit</code> environment variable to the composite step.</li> <li>Created <code>src/ratelimit.ps1</code> as a helper script (no fence borders) that checks the guard and renders a single <code>Rate Limits</code> LogGroup.</li> <li><code>src/ratelimit.ps1</code> now calls <code>Get-GitHubRateLimit -ErrorAction Stop</code> so non-terminating errors are caught reliably in unsupported auth contexts.</li> <li><code>src/ratelimit.ps1</code> explicitly selects <code>Name</code>, <code>Limit</code>, <code>Used</code>, <code>Remaining</code>, <code>ResetsAt</code>, and <code>ResetsIn</code> before formatting to keep columns deterministic.</li> <li>Modified <code>src/info.ps1</code>: adjusted the early-return guard to also consider <code>ShowRateLimit</code>, wrapped existing LogGroups in <code>if ($showInfo)</code>, and calls <code>ratelimit.ps1</code> before the fence close.</li> <li>Modified <code>src/outputs.ps1</code>: adjusted the early-return guard to also consider <code>ShowRateLimit</code>, wrapped existing output LogGroups in <code>if ($result)</code>, and calls <code>ratelimit.ps1</code> before the fence close.</li> <li>The <code>action.yml</code> run block remains in the same flow, while <code>info.ps1</code> and <code>outputs.ps1</code> invoke the helper internally.</li> <li>Enabled <code>ShowRateLimit: true</code> across all Action-Test scenarios in <code>.github/workflows/TestWorkflow.yml</code>, including Basic, WithScript path variants, Commands + Outputs, Matrix Creator, WithoutToken, WithPAT, WithUserFGPAT, WithOrgFGPAT, GitHubAppEnt, GitHubAppOrg + quoted inputs, WithKeyVaultKeyReference, WithKeyVaultKeyReferenceLatest, and PreserveCredentials False.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PSModule/GitHub-Script/commit/1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a"><code>1ee97bb</code></a> 🚀 [Minor]: GitHub API rate limit details now available in action logs (<a href="https://redirect.github.com/psmodule/github-script/issues/89">#89</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/8649c467ee0b68264cb1278a301db734e7be0b3d"><code>8649c46</code></a> Bump azure/login from 2.3.0 to 3.0.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/86">#86</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/e3b0111c93df3686061cb2c65054f9216ed265e5"><code>e3b0111</code></a> ⚙️ [Maintenance]: Add afterall to codespell ignore words list (<a href="https://redirect.github.com/psmodule/github-script/issues/85">#85</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/2d8efc6a869808747c9e72976542be4d3464d7e0"><code>2d8efc6</code></a> Bump super-linter/super-linter from 8.4.0 to 8.5.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/84">#84</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/611c5dcb30160e3797af3a3789f7cc0d2738ec9d"><code>611c5dc</code></a> ⚙️ [Maintenance]: Update super-linter to v8.4.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/83">#83</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/99556fc49acee71068e89a8ad67f434b467da83c"><code>99556fc</code></a> ⚙️ [Maintenance]: Align workflows across action repositories (<a href="https://redirect.github.com/psmodule/github-script/issues/82">#82</a>)</li> <li>See full diff in <a href="https://github.com/psmodule/github-script/compare/0097f3bbe3f413f3b577b9bcc600727b0ca3201a...1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: Marius Storhaug <marstor@hotmail.com>
Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 (#346) Bumps [PSModule/GitHub-Script](https://github.com/psmodule/github-script) from 1.7.10 to 1.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psmodule/github-script/releases">PSModule/GitHub-Script's releases</a>.</em></p> <blockquote> <h2>v1.8.0</h2> <h1>🚀 [Minor]: GitHub API rate limit details now available in action logs (<a href="https://redirect.github.com/psmodule/github-script/issues/89">#89</a>)</h1> <p>GitHub API rate limit consumption is now visible directly in the action logs. When enabled, rate limit details - including remaining quota, limit, used count, and reset time for all resource categories - are displayed before and after the user script runs, making it easy to see exactly how many API calls a workflow step consumed.</p> <ul> <li>Fixes <a href="https://redirect.github.com/psmodule/github-script/issues/88">#88</a></li> </ul> <h2>New: Rate limit visibility in action logs</h2> <p>A new <code>ShowRateLimit</code> input (default: <code>'false'</code>) controls whether rate limit information appears in the logs. When set to <code>'true'</code>, a <strong>Rate Limits</strong> LogGroup appears inside the Info fence before the user script, and another <strong>Rate Limits</strong> LogGroup appears inside the Outputs fence after it.</p> <pre lang="yaml"><code>- uses: PSModule/GitHub-Script@v1 with: ShowRateLimit: 'true' Script: | Get-GitHubRepository -Owner PSModule -Name GitHub-Script </code></pre> <p>The output includes a formatted table of all resource categories returned by <code>Get-GitHubRateLimit</code> (core, search, graphql, etc.), each showing <code>Limit</code>, <code>Used</code>, <code>Remaining</code>, <code>ResetsAt</code>, and <code>ResetsIn</code>.</p> <p>When the input is omitted or set to <code>'false'</code> (the default), no rate limit output appears.</p> <p>If <code>ShowRateLimit</code> is enabled but <code>ShowInfo</code> or <code>ShowOutput</code> is off, the corresponding fence still renders with just the rate limit content inside. For auth types that do not support <code>Get-GitHubRateLimit</code> (for example GitHub App contexts), a warning is shown instead of failing.</p> <h2>Technical Details</h2> <ul> <li>Added <code>ShowRateLimit</code> input to <code>action.yml</code> with <code>required: false</code> and <code>default: 'false'</code>.</li> <li>Added <code>PSMODULE_GITHUB_SCRIPT_INPUT_ShowRateLimit</code> environment variable to the composite step.</li> <li>Created <code>src/ratelimit.ps1</code> as a helper script (no fence borders) that checks the guard and renders a single <code>Rate Limits</code> LogGroup.</li> <li><code>src/ratelimit.ps1</code> now calls <code>Get-GitHubRateLimit -ErrorAction Stop</code> so non-terminating errors are caught reliably in unsupported auth contexts.</li> <li><code>src/ratelimit.ps1</code> explicitly selects <code>Name</code>, <code>Limit</code>, <code>Used</code>, <code>Remaining</code>, <code>ResetsAt</code>, and <code>ResetsIn</code> before formatting to keep columns deterministic.</li> <li>Modified <code>src/info.ps1</code>: adjusted the early-return guard to also consider <code>ShowRateLimit</code>, wrapped existing LogGroups in <code>if ($showInfo)</code>, and calls <code>ratelimit.ps1</code> before the fence close.</li> <li>Modified <code>src/outputs.ps1</code>: adjusted the early-return guard to also consider <code>ShowRateLimit</code>, wrapped existing output LogGroups in <code>if ($result)</code>, and calls <code>ratelimit.ps1</code> before the fence close.</li> <li>The <code>action.yml</code> run block remains in the same flow, while <code>info.ps1</code> and <code>outputs.ps1</code> invoke the helper internally.</li> <li>Enabled <code>ShowRateLimit: true</code> across all Action-Test scenarios in <code>.github/workflows/TestWorkflow.yml</code>, including Basic, WithScript path variants, Commands + Outputs, Matrix Creator, WithoutToken, WithPAT, WithUserFGPAT, WithOrgFGPAT, GitHubAppEnt, GitHubAppOrg + quoted inputs, WithKeyVaultKeyReference, WithKeyVaultKeyReferenceLatest, and PreserveCredentials False.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PSModule/GitHub-Script/commit/1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a"><code>1ee97bb</code></a> 🚀 [Minor]: GitHub API rate limit details now available in action logs (<a href="https://redirect.github.com/psmodule/github-script/issues/89">#89</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/8649c467ee0b68264cb1278a301db734e7be0b3d"><code>8649c46</code></a> Bump azure/login from 2.3.0 to 3.0.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/86">#86</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/e3b0111c93df3686061cb2c65054f9216ed265e5"><code>e3b0111</code></a> ⚙️ [Maintenance]: Add afterall to codespell ignore words list (<a href="https://redirect.github.com/psmodule/github-script/issues/85">#85</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/2d8efc6a869808747c9e72976542be4d3464d7e0"><code>2d8efc6</code></a> Bump super-linter/super-linter from 8.4.0 to 8.5.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/84">#84</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/611c5dcb30160e3797af3a3789f7cc0d2738ec9d"><code>611c5dc</code></a> ⚙️ [Maintenance]: Update super-linter to v8.4.0 (<a href="https://redirect.github.com/psmodule/github-script/issues/83">#83</a>)</li> <li><a href="https://github.com/PSModule/GitHub-Script/commit/99556fc49acee71068e89a8ad67f434b467da83c"><code>99556fc</code></a> ⚙️ [Maintenance]: Align workflows across action repositories (<a href="https://redirect.github.com/psmodule/github-script/issues/82">#82</a>)</li> <li>See full diff in <a href="https://github.com/psmodule/github-script/compare/0097f3bbe3f413f3b577b9bcc600727b0ca3201a...1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: Marius Storhaug <marstor@hotmail.com>
Bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 (#340) Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 4.0.0 to 5.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-pages-artifact/releases">actions/upload-pages-artifact's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h1>Changelog</h1> <ul> <li>Update upload-artifact action to version 7 <a href="https://github.com/Tom-van-Woudenberg"><code>@Tom-van-Woudenberg</code></a> (<a href="https://redirect.github.com/actions/upload-pages-artifact/issues/139">#139</a>)</li> <li>feat: add <code>include-hidden-files</code> input <a href="https://github.com/jonchurch"><code>@jonchurch</code></a> (<a href="https://redirect.github.com/actions/upload-pages-artifact/issues/137">#137</a>)</li> </ul> <p>See details of <a href="https://github.com/actions/upload-pages-artifact/compare/v4.0.0...v4.0.1">all code changes</a> since previous release.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/upload-pages-artifact/commit/fc324d3547104276b827a68afc52ff2a11cc49c9"><code>fc324d3</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-pages-artifact/issues/139">#139</a> from Tom-van-Woudenberg/patch-1</li> <li><a href="https://github.com/actions/upload-pages-artifact/commit/fe9d4b7d84090e1d8d9c53a0236f810d4e00d2c3"><code>fe9d4b7</code></a> Merge branch 'main' into patch-1</li> <li><a href="https://github.com/actions/upload-pages-artifact/commit/0ca16172ca884f0a37117fed41734f29784cc980"><code>0ca1617</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-pages-artifact/issues/137">#137</a> from jonchurch/include-hidden-files</li> <li><a href="https://github.com/actions/upload-pages-artifact/commit/57f0e8492b437b7818227931fef2faa1a379839b"><code>57f0e84</code></a> Update action.yml</li> <li><a href="https://github.com/actions/upload-pages-artifact/commit/4a90348b2933470dc78cec55534259872a6d3c0d"><code>4a90348</code></a> v7 --> hash</li> <li><a href="https://github.com/actions/upload-pages-artifact/commit/56f665a6f297fa95f8d735b314187fb2d7764569"><code>56f665a</code></a> Update upload-artifact action to version 7</li> <li><a href="https://github.com/actions/upload-pages-artifact/commit/f7615f5917213b24245d49ba96693d0f5375a414"><code>f7615f5</code></a> Add <code>include-hidden-files</code> input</li> <li>See full diff in <a href="https://github.com/actions/upload-pages-artifact/compare/7b1f4a764d45c48632c6b24a0339c27f5614fb0b...fc324d3547104276b827a68afc52ff2a11cc49c9">compare view</a></li> </ul> </details> <br /> [](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> Co-authored-by: Marius Storhaug <marstor@hotmail.com>
Bump actions/upload-artifact from 7.0.0 to 7.0.1 (#341) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 7.0.0 to 7.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v7.0.1</h2> <h2>What's Changed</h2> <ul> <li>Update the readme with direct upload details by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/upload-artifact/pull/795">actions/upload-artifact#795</a></li> <li>Readme: bump all the example versions to v7 by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/upload-artifact/pull/796">actions/upload-artifact#796</a></li> <li>Include changes in typespec/ts-http-runtime 0.3.5 by <a href="https://github.com/yacaovsnc"><code>@yacaovsnc</code></a> in <a href="https://redirect.github.com/actions/upload-artifact/pull/797">actions/upload-artifact#797</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/upload-artifact/compare/v7...v7.0.1">https://github.com/actions/upload-artifact/compare/v7...v7.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/upload-artifact/commit/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"><code>043fb46</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/797">#797</a> from actions/yacaovsnc/update-dependency</li> <li><a href="https://github.com/actions/upload-artifact/commit/634250c1388765ea7ed0f053e636f1f399000b94"><code>634250c</code></a> Include changes in typespec/ts-http-runtime 0.3.5</li> <li><a href="https://github.com/actions/upload-artifact/commit/e454baaac2be505c9450e11b8f3215c6fc023ce8"><code>e454baa</code></a> Readme: bump all the example versions to v7 (<a href="https://redirect.github.com/actions/upload-artifact/issues/796">#796</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/74fad66b98a6d799dc004d3353ccd0e6f6b2530e"><code>74fad66</code></a> Update the readme with direct upload details (<a href="https://redirect.github.com/actions/upload-artifact/issues/795">#795</a>)</li> <li>See full diff in <a href="https://github.com/actions/upload-artifact/compare/bbbca2ddaa5d8feaa63e36b76fdaad77386f024f...043fb46d1a93c77aae656e7c1c64a875d1fc6a0a">compare view</a></li> </ul> </details> <br /> [](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>
🩹 [Patch]: Bump PSModule/Publish-PSModule to v2.2.4 (#312) The module publishing workflow now uses the latest `PSModule/Publish-PSModule` action release, so publish jobs run with the newest patch-level fixes while keeping the same workflow behavior. ## Changed: Module publishing dependency The `Publish-Module.yml` reusable workflow now references `PSModule/Publish-PSModule` `v2.2.4` (pinned by commit SHA) instead of `v2.2.3`. ```yaml - name: Publish module uses: PSModule/Publish-PSModule@8917aed # v2.2.4 ``` No workflow inputs or invocation patterns changed for consumers. ## Technical Details - Updated one dependency reference in `.github/workflows/Publish-Module.yml`. - The action remains SHA-pinned with a version comment for traceability and supply-chain integrity. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
🩹 [Patch]: Reusable workflow dependencies updated (#332) Reusable workflow dependencies are now updated to newer pinned versions, improving reliability and consistency across repository automation while preserving existing workflow behavior. ## Changed: Reusable workflow dependency versions The repository workflows now use updated pinned versions of key GitHub Actions and PSModule actions. All references remain SHA-pinned with version comments, keeping the same security model while applying dependency updates. ## Technical Details Updated action pins in `.github/workflows/Build-Docs.yml`, `.github/workflows/Build-Site.yml`, `.github/workflows/Lint-Repository.yml`, `.github/workflows/Lint-SourceCode.yml`, `.github/workflows/Linter.yml`, `.github/workflows/Publish-Site.yml`, `.github/workflows/Test-Module.yml`, and `.github/workflows/Test-ModuleLocal.yml`. Changes include `actions/download-artifact` (`v8.0.1`), `actions/deploy-pages` (`v5.0.0`), `actions/configure-pages` (`v6.0.0`), `PSModule/Invoke-ScriptAnalyzer` (`v4.1.3`), and `super-linter/super-linter` (`v8.6.0`). --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
🚀 [Feature]: Release-triggering file patterns now configurable via wo… …rkflow input (#301) Repositories can now control which file changes trigger build, test, and publish stages by configuring the `ImportantFilePatterns` workflow input or settings file property. The default patterns (`^src/` and `^README\.md$`) remain unchanged for backward compatibility. - Fixes #278 ## New: Configurable release-triggering file patterns The `ImportantFilePatterns` input is now available on the `workflow.yml` and `Get-Settings.yml` reusable workflows. Pass a newline-separated list of regex patterns to override the defaults: ```yaml jobs: Process: uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v5 with: ImportantFilePatterns: | ^src/ ^README\.md$ ^examples/ ``` To disable file-change triggering entirely, pass an empty string via the workflow input or set an empty list in `.github/PSModule.yml`: ```yaml # In .github/PSModule.yml ImportantFilePatterns: [] ``` Resolution order: settings file → workflow input → workflow input default values. ## Changed: PR comment reflects configured patterns The automated comment posted on PRs when no important files are changed now dynamically lists the configured patterns instead of a hardcoded table. ## Technical Details - Added `ImportantFilePatterns` input (type: `string`, newline-separated) to both `.github/workflows/workflow.yml` and `.github/workflows/Get-Settings.yml` with explicit defaults (`^src/` and `^README\.md$`). - Bumped `Get-PSModuleSettings` action reference from `v1.4.4` to `v1.5.0` which implements the settings file and action input support for this feature. - Passed `ImportantFilePatterns` input through the reusable workflow chain to the `Get-PSModuleSettings` action step. - Updated README documentation: new input in the workflow inputs table, new "Customizing important file patterns" section with YAML examples, updated settings file reference and example schema. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
PreviousNext