From 2c81cfe5c7f359d0865ac7814f9aa2f77b7421e7 Mon Sep 17 00:00:00 2001 From: Jeroen de Bruijn Date: Fri, 14 Apr 2023 17:16:16 +0200 Subject: [PATCH] fix: allow dot `.` in GitHub Actions reusable workflow repository name Closes #20872. --- lib/modules/manager/github-actions/extract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/manager/github-actions/extract.ts b/lib/modules/manager/github-actions/extract.ts index 90ff7ce93cfd13..714acad7e3db19 100644 --- a/lib/modules/manager/github-actions/extract.ts +++ b/lib/modules/manager/github-actions/extract.ts @@ -10,7 +10,7 @@ import type { Workflow } from './types'; const dockerActionRe = regEx(/^\s+uses: ['"]?docker:\/\/([^'"]+)\s*$/); const actionRe = regEx( - /^\s+-?\s+?uses: (?['"]?(?[\w-]+\/[\w-]+)(?\/.*)?@(?[^\s'"]+)['"]?(?:\s+#\s*(?:renovate\s*:\s*)?(?:pin\s+|tag\s*=\s*)?@?(?v?\d+(?:\.\d+(?:\.\d+)?)?))?)/ + /^\s+-?\s+?uses: (?['"]?(?[\w-]+\/[.\w-]+)(?\/.*)?@(?[^\s'"]+)['"]?(?:\s+#\s*(?:renovate\s*:\s*)?(?:pin\s+|tag\s*=\s*)?@?(?v?\d+(?:\.\d+(?:\.\d+)?)?))?)/ ); // SHA1 or SHA256, see https://github.blog/2020-10-19-git-2-29-released/