PullRequestTarget

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())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val on: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun render(): Map<String, MutableMap<String, Any>>
Link copied to clipboard
open override fun toString(): String