Skip to content

Adapter Semgrep Workflow: Split into two stages - #4894

Open
przemkaczmarek wants to merge 1 commit into
masterfrom
fixError
Open

Adapter Semgrep Workflow: Split into two stages#4894
przemkaczmarek wants to merge 1 commit into
masterfrom
fixError

Conversation

@przemkaczmarek

Copy link
Copy Markdown
Collaborator

actions/checkout now refuses to check out fork PR code from a pull_request_target workflow ("pwn request" protection). Splits the semgrep check into an untrusted pull_request stage that runs semgrep and uploads results as an artifact, and a trusted workflow_run stage that downloads the artifact and posts review comments. Same pattern as #4775.

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