Skip to content
Prev Previous commit
Next Next commit
Update listActionsCaches doc
  • Loading branch information
henrymercer committed May 5, 2026
commit 5997e25ad9b4bb8bf9d221889e85b99b2d930f3d
4 changes: 2 additions & 2 deletions lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/init-action-post.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ export interface ActionsCacheItem {
size_in_bytes?: number;
}

/** List all Actions cache entries matching the provided key and ref. */
/** List all Actions cache entries starting with the provided key prefix and matching the provided ref. */
export async function listActionsCaches(
key: string,
keyPrefix: string,
ref?: string,
): Promise<ActionsCacheItem[]> {
const repositoryNwo = getRepositoryNwo();
Expand All @@ -264,7 +264,7 @@ export async function listActionsCaches(
{
owner: repositoryNwo.owner,
repo: repositoryNwo.repo,
key,
key: keyPrefix,
ref,
},
);
Expand Down