Skip to content

Commit

Permalink
Update the defaults for github users (#2828)
Browse files Browse the repository at this point in the history
This makes the output of github.organization.members a lot more useful.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Dec 13, 2023
1 parent fb4272d commit cca512f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions providers/github/resources/github.lr
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ github.organization @defaults("login name") {
}

// GitHub user
private github.user @defaults("id name") {
private github.user @defaults("login name email company") {
// User ID
id int
// User login
Expand Down Expand Up @@ -403,9 +403,9 @@ private github.workflow @defaults("id name") {
createdAt time
// Workflow update time
updatedAt time
// Workflow file
// Workflow file
file() github.file
// Workflow configuration
// Workflow configuration
configuration() dict
}

Expand Down Expand Up @@ -473,7 +473,7 @@ private github.commit @defaults("sha") {
stats dict
}

// GitHub repository pull request
// GitHub repository pull request
private github.mergeRequest @defaults("id state") {
// Pull request ID
id int
Expand Down Expand Up @@ -505,7 +505,7 @@ private github.review @defaults("url state") {
url string
// Review state
state string
// Author association
// Author association
authorAssociation string
// Review user information
user github.user
Expand Down

0 comments on commit cca512f

Please sign in to comment.