You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `The trigger plugin starts tests in reaction to commands and pull request events. It is responsible for ensuring that test jobs are only run on trusted PRs. A PR is considered trusted if the author is a member of the 'trusted organization' for the repository or if such a member has left an '/ok-to-test' command on the PR.
44
+
varplugin= plugins.Plugin{
45
+
Description: `The trigger plugin starts tests in reaction to commands and pull request events. It is responsible for ensuring that test jobs are only run on trusted PRs. A PR is considered trusted if the author is a member of the 'trusted organization' for the repository or if such a member has left an '/ok-to-test' command on the PR.
47
46
<br>Trigger starts jobs automatically when a new trusted PR is created or when an untrusted PR becomes trusted, but it can also be used to start jobs manually via the '/test' command.
48
47
<br>The '/retest' command can be used to rerun jobs that have reported failure.`,
49
-
ConfigHelpProvider: configHelp,
50
-
PullRequestHandler: handlePullRequest,
51
-
PushEventHandler: handlePush,
52
-
Commands: []plugins.Command{{
53
-
Name: "ok-to-test",
54
-
Description: "Marks a PR as 'trusted' and starts tests.",
55
-
WhoCanUse: "Members of the trusted organization for the repo.",
0 commit comments