From 989b3733a16c9e132ac725e43b4980e642403b41 Mon Sep 17 00:00:00 2001 From: Abdulrhmn Ghanem Date: Wed, 28 Sep 2022 17:01:29 +0200 Subject: [PATCH] squash! processor: fix Github Actions status badges urls --- processor/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/src/utils.ts b/processor/src/utils.ts index 28a48ed591..1ec00c5ceb 100644 --- a/processor/src/utils.ts +++ b/processor/src/utils.ts @@ -78,7 +78,7 @@ export function toGitHubRawUrl(url: string) { parsedUrl.hostname = 'raw.githubusercontent.com' const urlPath = parsedUrl.pathname.split('/') // Avoid using modifying github actions status badges. - const isWorkflowPath = urlPath?.[3] === 'workflows' + const isWorkflowPath = ['workflows', 'actions'].includes(urlPath?.[3]) if (!isWorkflowPath) { // Remove `/blob/` or '/raw/' from the path.