Skip to content

Eliminate the use of pull_request_target in github actions where possible #4560

@tmihalac

Description

@tmihalac

Using the pull_request trigger defaults to RW permissions for local PRs and RO permissions for forked PRs. And using the pull_request_target will default to RW for both.

The use of pull_request_target is a security issue and an opening for malicious code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions