Closed ParthaI closed 3 months ago
@ParthaI the implementation does not look correct since the two columns mentioned in the comment below are not returned by the GetConfig
.
Will it be possible to raise an issue with the GitHub API/Graphql team to add the following two fields in the response?
@misraved, I have pushed a commit to consistently populate the is_generated
and mode
column values.
Commit reference: https://github.com/turbot/steampipe-plugin-github/pull/445/commits/881047a86393dec03f3ae9ee9ae1f29623178b65
Could you please review the changes and let me know if everything looks good?
Thanks!
Example query results
Results
``` > select type, name, path, path_raw,mode, line_count from github_repository_content where repository_full_name = 'turbot/steampipe-plugin-github' and path = 'docs/tables/github_audit_log.md' +------+---------------------+---------------------------------+----------------------------------------------+------+------------+ | type | name | path | path_raw | mode | line_count | +------+---------------------+---------------------------------+----------------------------------------------+------+------------+ | blob | github_audit_log.md | docs/tables/github_audit_log.md | ZG9jcy90YWJsZXMvZ2l0aHViX2F1ZGl0X2xvZy5tZA== | 0 | 204 | +------+---------------------+---------------------------------+----------------------------------------------+------+------------+ ```