Skip to content

Bump PSModule/Process-PSModule/.github/workflows/workflow.yml from 5.4.3 to 5.5.7#23

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/PSModule/Process-PSModule/dot-github/workflows/workflow.yml-5.5.7
Open

Bump PSModule/Process-PSModule/.github/workflows/workflow.yml from 5.4.3 to 5.5.7#23
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/PSModule/Process-PSModule/dot-github/workflows/workflow.yml-5.5.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor

Bumps PSModule/Process-PSModule/.github/workflows/workflow.yml from 5.4.3 to 5.5.7.

Release notes

Sourced from PSModule/Process-PSModule/.github/workflows/workflow.yml's releases.

v5.5.7

Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 (#346)

Bumps PSModule/GitHub-Script from 1.7.10 to 1.8.0.

... (truncated)

Commits
  • ce64918 Bump PSModule/GitHub-Script from 1.7.10 to 1.8.0 (#346)
  • dcfb311 Bump PSModule/Build-PSModule from 4.0.14 to 4.0.15 (#345)
  • 762cffb Bump PSModule/Invoke-Pester from 4.2.4 to 4.2.5 (#344)
  • 8bb1745 Bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 (#340)
  • e34ef35 Bump actions/upload-artifact from 7.0.0 to 7.0.1 (#341)
  • e8f5b22 🩹 [Patch]: Bump PSModule/Publish-PSModule to v2.2.4 (#312)
  • 51f27f7 🩹 [Patch]: Reusable workflow dependencies updated (#332)
  • 1111791 🚀 [Feature]: Release-triggering file patterns now configurable via workflow i...
  • 3ed96da 🩹 [Patch]: Framework-generated code coverage no longer penalizes module autho...
  • 205d193 🪲 [Fix]: Super-linter can now post PR comment summaries (#308)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [PSModule/Process-PSModule/.github/workflows/workflow.yml](https://github.com/psmodule/process-psmodule) from 5.4.3 to 5.5.7.
- [Release notes](https://github.com/psmodule/process-psmodule/releases)
- [Commits](PSModule/Process-PSModule@60bdf8a...ce64918)

---
updated-dependencies:
- dependency-name: PSModule/Process-PSModule/.github/workflows/workflow.yml
  dependency-version: 5.5.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, github-actions. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

Pattern Description
^src/ Matches files where path matches this pattern
^README\.md$ Matches files where path matches this pattern

Build, test, and publish stages will be skipped for this PR.

If you believe this is incorrect, please verify that your changes are in the correct locations.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Pass ✅
NATURAL_LANGUAGE Pass ✅
POWERSHELL Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Marius Storhaug (MariusStorhaug) added a commit that referenced this pull request Jul 10, 2026
…a (secret + variable) in tests (#26)

Updates the shared `Process-PSModule` reusable workflow from `v5.4.3` to
the latest `v6.1.1`, and adds a worked example of the v6 `TestData`
feature so module authors can see how to pass a secret and a variable
down to their tests.

## Changed: Process-PSModule bumped to v6.1.1

The template now consumes `Process-PSModule` `v6.1.1` (was `v5.4.3`).
The v6 major release replaced the fixed `TEST_*` workflow secret inputs
with a single `TestData` object; the template did not use any `TEST_*`
secrets, and the `.github/PSModule.yml` settings keys used here
(`Test.CodeCoverage.PercentTarget`, `Linter.env`) remain valid in v6.

## New: Showcase for passing test data to the module tests

`.github/workflows/Process-PSModule.yml` now passes a `TestData` object
with one secret and one variable:

```yaml
TestData: >-
  { "secrets": { "TEST_SECRET": "${{ secrets.TEST_SECRET }}" },
  "variables": { "TEST_VARIABLE": ${{ toJSON(vars.TEST_VARIABLE) }} } }
```

- Entries in `secrets` are masked in the logs; entries in `variables`
are not.
- Both are exposed to the module test jobs as `$env:<name>`.

`tests/Environment.Tests.ps1` consumes them and asserts they arrive. The
tests **skip** when the values are absent, so a fresh repository created
from this template stays green (GitHub does not copy repository
secrets/variables to template instances).

## Technical Details

- `.github/workflows/Process-PSModule.yml`: pin `workflow.yml@60bdf8a…`
(`v5.4.3`) → `@ea19a3eb1293246d1b00e4faae1544442c3be0ec` (`v6.1.1`); add
the commented `TestData` block.
- `tests/Environment.Tests.ps1`: new, mirrors the sibling test-file
header; `-Skip` when the env var is empty; PSScriptAnalyzer-clean
against `.github/linters/.powershell-psscriptanalyzer.psd1`.
- Non-sensitive demo repository secret `TEST_SECRET` and variable
`TEST_VARIABLE` were added to this repo so its own CI exercises the
showcase; both are safe placeholder values.
- Validated locally with Pester: 2 passed with the env vars set, 2
skipped without. PR checks (pull_request event) are green.
- Supersedes Dependabot PR #23 (bump to `5.5.7`), which Dependabot will
close automatically once this merges to a higher version.

### Known limitation on v6.1.1

On v6.1.0/v6.1.1 the `Plan` job fails on `schedule` and
`workflow_dispatch` events (its `Resolve-Version` step requires a
`pull_request` event), so the template's scheduled/manual runs will fail
until fixed upstream. `pull_request` runs — the primary development path
— are unaffected. Tracked in PSModule/Process-PSModule#373.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants