You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
♻️ [Maintenance]: Combine TestSecrets and TestVariables into a single TestData secret
Replace the separate TestSecrets secret and TestVariables input with one TestData
secret that carries a { "secrets": {...}, "variables": {...} } object, so callers
have a single overview of everything the module tests receive.
- workflow.yml + the three ModuleLocal workflows declare/pass TestData; the expose
step parses both maps, masks only the "secrets" values, and leaves "variables"
unmasked.
- Self-test callers build TestData with the CodeQL-clean direct "${{ secrets.X }}"
form for secrets and toJSON(vars.X) for variables, kept single-line via a folded
>- scalar so GitHub registers one mask.
- Drop the multi-line self-test secret (the direct form cannot carry newlines);
README documents base64 for multi-line/special-character secrets.
- Update Environment.Tests.ps1 and the README accordingly.
0 commit comments