Skip to content

Bump google/go-github and shurcooL/githubv4 packages - #560

Open
WallyGuzman wants to merge 1 commit into
turbot:mainfrom
WallyGuzman:bump_github_package_versions
Open

Bump google/go-github and shurcooL/githubv4 packages#560
WallyGuzman wants to merge 1 commit into
turbot:mainfrom
WallyGuzman:bump_github_package_versions

Conversation

@WallyGuzman

@WallyGuzman WallyGuzman commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
  • Migrate existing table logic to latest versions
  • Minor modifications for deprecations and API changes
  • Run go mod tidy to prune unused dependencies
  • Also run gofmt on all files to resolve linting issues

Note: I've only verified four tables where there is more than a two-line import change, but please let me know if you'd like me to verify anything else. The four are github_actions_artifact, github_actions_cache, github_gitignore, and github_repository_sbom. The github_actions_repository_runner had changes, but unfortunately, I don't have any self-hosted runners configured anywhere to test against.

Disclaimer: I tried to verify the GHES changes using the on-prem instance at my $DAYJOB, but it looks like *this plugin has had issues even before this change. As an example, running a simple select * from github_my_repository query returns err Field 'fundingLinks' doesn't exist on type 'Repository'.

Example query results

Results

github_actions_artifact

> .output line;
> select
  *
from
  github_actions_artifact
where
  repository_full_name = 'turbot/steampipe' limit 1;
-[ RECORD 1  ]---------------------------------------------------------------------------
login_id             | MDQ6VXNlcjM2MjM0MjY=
repository_full_name | turbot/steampipe
name                 | test-logs-plugin-ubuntu-latest
id                   | 8,614,273,598
size_in_bytes        | 31,543
archive_download_url | https://api.github.com/repos/turbot/steampipe/actions/artifacts/8614273598/zip
created_at           | 2026-07-25T02:27:48Z
expired              | false
expires_at           | 2026-10-23T02:17:17Z
node_id              | MDg6QXJ0aWZhY3Q4NjE0MjczNTk4
sp_connection_name   | github
sp_ctx               | {"connection_name":"github","steampipe":{"sdk_version":"5.14.0"}}
_ctx                 | {"connection_name":"github","steampipe":{"sdk_version":"5.14.0"}}

github_actions_cache

> select
  *
from
  github_actions_cache
where
  repository_full_name = 'turbot/steampipe' limit 1;
-[ RECORD 1  ]---------------------------------------------------------------------------
login_id             | MDQ6VXNlcjM2MjM0MjY=
repository_full_name | turbot/steampipe
id                   | 6,237,879,723
key                  | codeql-overlay-base-database-1-433570c23e836bda-go-2.26.2-2d11d8cdb2e9e09365df128fd906c6daaaeac5f6-30673795184-1
ref                  | refs/heads/develop
version              | d96c176a7c72d361c40b4e5bcab0abec796173d7f00eca68f52f8039917812e4
last_accessed_at     | 2026-07-31T23:50:10Z
created_at           | 2026-07-31T23:50:10Z
size_in_bytes        | 31,693,006
sp_connection_name   | github
sp_ctx               | {"connection_name":"github","steampipe":{"sdk_version":"5.14.0"}}
_ctx                 | {"connection_name":"github","steampipe":{"sdk_version":"5.14.0"}}

github_gitignore

> select
  *
from
  github_gitignore
order by
  name limit 1;
-[ RECORD 1  ]---------------------------------------------------------------------------
login_id           | MDQ6VXNlcjM2MjM0MjY=
name               | AL
source             | ### AL ###                                                        +
                   | #Template for AL projects for Dynamics 365 Business Central       +
                   | #launch.json folder                                               +
                   | .vscode/                                                          +
                   | #Cache folder                                                     +
                   | .alcache/                                                         +
                   | #Symbols folder                                                   +
                   | .alpackages/                                                      +
                   | #Snapshots folder                                                 +
                   | .snapshots/                                                       +
                   | #Testing Output folder                                            +
                   | .output/                                                          +
                   | #Extension App-file                                               +
                   | *.app                                                             +
                   | #Rapid Application Development File                               +
                   | rad.json                                                          +
                   | #Translation Base-file                                            +
                   | *.g.xlf                                                           +
                   | #License-files                                                    +
                   | *.bclicense                                                       +
                   | *.flf                                                             +
                   | #Test results file                                                +
                   | TestResults.xml                                                  
sp_connection_name | github
sp_ctx             | {"connection_name":"github","steampipe":{"sdk_version":"5.14.0"}}
_ctx               | {"connection_name":"github","steampipe":{"sdk_version":"5.14.0"}}

github_repository_sbom

> select
  name,
  spdx_version
from
  github_repository_sbom
where
  spdx_version = 'SPDX-2.3'
  and repository_full_name = 'turbot/steampipe';
-[ RECORD 1  ]---------------------------------------------------------------------------
name         | com.github.turbot/steampipe
spdx_version | SPDX-2.3

- Migrate existing table logic to latest versions
- Minor modifications for deprecations and API changes
- Run `go mod tidy` to prune unused dependencies
- Also run `gofmt` on all files to resolve linting issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant