From 7ceeeb821069ccd47dc6718aee687f597e022e4a Mon Sep 17 00:00:00 2001 From: secustor Date: Thu, 21 Sep 2023 11:47:25 +0200 Subject: [PATCH] feat: broaden job matcher for semantic release Signed-off-by: secustor --- checks/raw/permissions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/raw/permissions.go b/checks/raw/permissions.go index c80e45fdeab..540fe4be223 100644 --- a/checks/raw/permissions.go +++ b/checks/raw/permissions.go @@ -473,7 +473,7 @@ func isReleasingWorkflow(workflow *actionlint.Workflow, fp string, pdata *permis // Commonly JavaScript packages, but supports multiple ecosystems Steps: []*fileparser.JobMatcherStep{ { - Run: "npx.*semantic-release", + Run: "(npx|pnpm|yarn).*semantic-release", }, }, LogText: "candidate publishing workflow using semantic-release",