Skip to content

Invoke PowerShell scripts via AddCommand instead of AddScript to populate automatic variables, added tests#2393

Closed
afroz429 wants to merge 2 commits into
devfrom
v5.1-runasscript
Closed

Invoke PowerShell scripts via AddCommand instead of AddScript to populate automatic variables, added tests#2393
afroz429 wants to merge 2 commits into
devfrom
v5.1-runasscript

Conversation

@afroz429

Copy link
Copy Markdown

Invoke PowerShell scripts via AddCommand instead of AddScript to populate automatic variables, added tests

@afroz429 afroz429 changed the base branch from master to dev May 27, 2026 23:33
@afroz429 afroz429 force-pushed the v5.1-runasscript branch from faa93b7 to 6ec147a Compare May 27, 2026 23:38
@afroz429 afroz429 force-pushed the v5.1-runasscript branch from 6ec147a to 55625f5 Compare May 28, 2026 04:29
- Move untrusted ${{ }} into env vars to prevent script injection
- Pin all actions to commit SHAs (no version bumps)
- Set top-level permissions: {} with minimal job-level grants
- Add concurrency groups and job names
- Fix PowerShell/github-script injection in Dockerfile-update workflows
- Pin semgrep container image by digest
@philasmar philasmar closed this Jul 14, 2026
@philasmar philasmar deleted the v5.1-runasscript branch July 14, 2026 19:03
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.

3 participants