Restrict TRAP cache cleanup to analyzed language
This commit is contained in:
parent
cc96c825ba
commit
087f0b04c6
5 changed files with 48 additions and 21 deletions
|
|
@ -196,8 +196,15 @@ export function computeAutomationID(
|
|||
return automationID;
|
||||
}
|
||||
|
||||
export interface ActionsCacheItem {
|
||||
key?: string | undefined;
|
||||
}
|
||||
|
||||
/** List all Actions cache entries matching the provided key and ref. */
|
||||
export async function listActionsCaches(key: string, ref: string) {
|
||||
export async function listActionsCaches(
|
||||
key: string,
|
||||
ref: string,
|
||||
): Promise<ActionsCacheItem[]> {
|
||||
const repositoryNwo = parseRepositoryNwo(
|
||||
getRequiredEnvParam("GITHUB_REPOSITORY"),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue