-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External: Get workflow runs #417
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
// 🌟 This was machine generated. Do not edit. 🌟 | ||
// | ||
// Frame[0] { | ||
// "typeVersion": [ | ||
// 0, | ||
// 0 | ||
// ], | ||
// "preferredVisualisationType": "table" | ||
// } | ||
// Name: workflow_run | ||
// Dimensions: 13 Fields by 2 Rows | ||
// +----------------+-----------------+-------------------+-----------------+-------------------------------+-------------------------------+-----------------+-----------------+-----------------+------------------+-----------------+-------------------+------------------+ | ||
// | Name: id | Name: name | Name: head_branch | Name: head_sha | Name: created_at | Name: updated_at | Name: html_url | Name: url | Name: status | Name: conclusion | Name: event | Name: workflow_id | Name: run_number | | ||
// | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | | ||
// | Type: []*int64 | Type: []*string | Type: []*string | Type: []*string | Type: []*time.Time | Type: []*time.Time | Type: []*string | Type: []*string | Type: []*string | Type: []*string | Type: []*string | Type: []*int64 | Type: []int64 | | ||
// +----------------+-----------------+-------------------+-----------------+-------------------------------+-------------------------------+-----------------+-----------------+-----------------+------------------+-----------------+-------------------+------------------+ | ||
// | 2 | name_2 | head_branch_2 | head_sha_2 | 2013-02-03 00:00:00 +0000 UTC | 2013-02-04 00:00:00 +0000 UTC | html_url_2 | url_2 | status_2 | conclusion_2 | event_2 | 2 | 2 | | ||
// | 1 | name_1 | head_branch_1 | head_sha_1 | 2013-02-01 00:00:00 +0000 UTC | 2013-02-02 00:00:00 +0000 UTC | html_url_1 | url_1 | status_1 | conclusion_1 | event_1 | 1 | 1 | | ||
// +----------------+-----------------+-------------------+-----------------+-------------------------------+-------------------------------+-----------------+-----------------+-----------------+------------------+-----------------+-------------------+------------------+ | ||
// | ||
// | ||
// 🌟 This was machine generated. Do not edit. 🌟 | ||
{ | ||
"status": 200, | ||
"frames": [ | ||
{ | ||
"schema": { | ||
"name": "workflow_run", | ||
"meta": { | ||
"typeVersion": [ | ||
0, | ||
0 | ||
], | ||
"preferredVisualisationType": "table" | ||
}, | ||
"fields": [ | ||
{ | ||
"name": "id", | ||
"type": "number", | ||
"typeInfo": { | ||
"frame": "int64", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "name", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "head_branch", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "head_sha", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "created_at", | ||
"type": "time", | ||
"typeInfo": { | ||
"frame": "time.Time", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "updated_at", | ||
"type": "time", | ||
"typeInfo": { | ||
"frame": "time.Time", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "html_url", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "url", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "status", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "conclusion", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "event", | ||
"type": "string", | ||
"typeInfo": { | ||
"frame": "string", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "workflow_id", | ||
"type": "number", | ||
"typeInfo": { | ||
"frame": "int64", | ||
"nullable": true | ||
} | ||
}, | ||
{ | ||
"name": "run_number", | ||
"type": "number", | ||
"typeInfo": { | ||
"frame": "int64" | ||
} | ||
} | ||
] | ||
}, | ||
"data": { | ||
"values": [ | ||
[ | ||
2, | ||
1 | ||
], | ||
[ | ||
"name_2", | ||
"name_1" | ||
], | ||
[ | ||
"head_branch_2", | ||
"head_branch_1" | ||
], | ||
[ | ||
"head_sha_2", | ||
"head_sha_1" | ||
], | ||
[ | ||
1359849600000, | ||
1359676800000 | ||
], | ||
[ | ||
1359936000000, | ||
1359763200000 | ||
], | ||
[ | ||
"html_url_2", | ||
"html_url_1" | ||
], | ||
[ | ||
"url_2", | ||
"url_1" | ||
], | ||
[ | ||
"status_2", | ||
"status_1" | ||
], | ||
[ | ||
"conclusion_2", | ||
"conclusion_1" | ||
], | ||
[ | ||
"event_2", | ||
"event_1" | ||
], | ||
[ | ||
2, | ||
1 | ||
], | ||
[ | ||
2, | ||
1 | ||
] | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be marked as downstream error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this follows the same pattern as the other query handlers, so i think its okay as is.
though, i don't have much experience with err source, if you think this is something we should change in all handler methods, we can continue to discuss but its out of the scope of this pr.
example:
github-datasource/pkg/github/commits_handler.go
Lines 11 to 17 in a9f2d33