Skip to content

Add table github_actions_cache#557

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

Add table github_actions_cache#557
WallyGuzman wants to merge 1 commit into
turbot:mainfrom
WallyGuzman:github_actions_cache

Conversation

@WallyGuzman

Copy link
Copy Markdown
Contributor
  • Follow documentation and logic from github_actions_cache
  • Add optional filters for key and ref

Example query results

Results
> .output line;
> select
  *
from
  github_actions_cache
where
  repository_full_name = 'turbot/steampipe'
limit 1;

-[ RECORD 1  ]---------------------------------------------------------------------------
login_id             | MDQ6VXNlcjM2MjM0MjY=
repository_full_name | turbot/steampipe
id                   | 5,890,771,769
key                  | Linux-go-build-08d1a3d49be87159e0f3f8a4332138434913c389f37f327d42bfd3b2efbb5f62
ref                  | refs/pull/5008/merge
version              | 523652564e88043e86cdfc9972e7c5aeb8c931ab95bd29448b10984a94d19d94
last_accessed_at     | <null>
created_at           | 2026-07-20T13:14:54Z
size_in_bytes        | 894,309,265
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"}}

> select
  id,
  key,
  version,
  created_at,
  last_accessed_at,
  size_in_bytes
from
  github_actions_cache
where
  repository_full_name = 'turbot/steampipe'
  and ref = 'refs/heads/develop'
limit 1;

-[ RECORD 1  ]---------------------------------------------------------------------------
id               | 5,890,190,229
key              | codeql-dependencies-1-Linux-go-f46945e9e2a201ba5be869eb640afe537b1e79225184d6b230b2f7d2c88e12ab
version          | c21ebd5a0dce85cbcf5074d005b7701b1d571b16c9a7193dd9b5985e36aa8a3d
created_at       | 2026-07-20T12:54:13Z
last_accessed_at | <null>
size_in_bytes    | 877,752,157

> select
  id,
  key,
  version,
  created_at,
  last_accessed_at,
  size_in_bytes
from
  github_actions_cache
where
  repository_full_name = 'turbot/steampipe'
  and key like 'codeql-%'
limit 1;

-[ RECORD 1  ]---------------------------------------------------------------------------
id               | 5,890,190,229
key              | codeql-dependencies-1-Linux-go-f46945e9e2a201ba5be869eb640afe537b1e79225184d6b230b2f7d2c88e12ab
version          | c21ebd5a0dce85cbcf5074d005b7701b1d571b16c9a7193dd9b5985e36aa8a3d
created_at       | 2026-07-20T12:54:13Z
last_accessed_at | <null>
size_in_bytes    | 877,752,157

- Follow documentation and logic from github_actions_cache
- Add optional filters for key and ref
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