Pull Request Target
class PullRequestTarget(var types: MutableList<PullRequestType> = mutableListOf(), var branches: Branches = Branches.Only(), var paths: Paths = Paths.Only()) : WorkflowTrigger
GitHub Actions workflow trigger for pull request target events.
Similar to pull_request but runs in the context of the target repository's base branch. This trigger is commonly used for workflows that need write access to the repository when processing pull requests from forks, as it runs with the permissions of the base branch.
Constructors
Link copied to clipboard
constructor(types: MutableList<PullRequestType> = mutableListOf(), branches: Branches = Branches.Only(), paths: Paths = Paths.Only())