From 525e068f9f56c306e02b9183d8632b1953beca5a Mon Sep 17 00:00:00 2001 From: Maciej Golaszewski Date: Fri, 15 Nov 2024 11:33:54 +0100 Subject: [PATCH] remove scan master branch2 --- .github/workflows/trivy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 68354ede..fdb7ac6f 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -22,7 +22,7 @@ jobs: # origin/v1.1 # origin/release-1.30 # origin/main - BRANCHES=$(git branch -r | grep -E '^ origin\/(((v|release-)?[0-9]+.[0-9]+)|(main))$' | \ + BRANCHES=$(git branch -r | grep -E '^ origin\/(((v|release-)?[0-9]+.[0-9]+)|main)$' | \ sed -e 's#^ origin/##' | jq -R -s -c 'split("\n")[:-1]') echo "branches=$(echo $BRANCHES)" >> $GITHUB_OUTPUT scan: