Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6b7ceed

Browse filesBrowse files
committed
Short cut
1 parent 0533fc9 commit 6b7ceed
Copy full SHA for 6b7ceed

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎src/main/java/org/kohsuke/github/GHEventInfo.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHEventInfo.java
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ public GHUser getActor() throws IOException {
6363
return root.getUser(actor.getLogin());
6464
}
6565

66+
/**
67+
* Quick way to just get the actor of the login.
68+
*/
69+
public String getActorLogin() throws IOException {
70+
return actor.getLogin();
71+
}
72+
6673
public GHOrganization getOrganization() throws IOException {
6774
return (org==null || org.getLogin()==null) ? null : root.getOrganization(org.getLogin());
6875
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.