Skip to content

🩹 [Patch]: Refactor TestData JSON formatting in Process-PSModule.yml#28

Open
Marius Storhaug (MariusStorhaug) wants to merge 2 commits into
mainfrom
asd
Open

🩹 [Patch]: Refactor TestData JSON formatting in Process-PSModule.yml#28
Marius Storhaug (MariusStorhaug) wants to merge 2 commits into
mainfrom
asd

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Member

This pull request updates the way test environment variables are passed to the workflow in .github/workflows/Process-PSModule.yml. The main change is to the formatting and encoding of the TestData field, specifically for how variables are referenced.

Workflow variable handling:

  • Changed the TestData field to reference TEST_VARIABLE using "${{ vars.TEST_VARIABLE }}" instead of toJSON(vars.TEST_VARIABLE), simplifying the value assignment and making it consistent with secret referencing.
  • Reformatted the TestData JSON for improved readability by expanding it to multiple lines.

@github-actions

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 Jul 10, 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

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.

1 participant