Skip to content

Commit

Permalink
wip24
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Golaszewski committed Nov 14, 2024
1 parent db428fa commit 654e3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
id: branches
run: |
#BRANCHES=$(git branch -r | grep -E '(v[0-9]+.[0-9]+)|(release-[0-9]+.[0-9]+)|([0-9]+.[0-9]+$)' | sed -e 's#^ origin/##' | jq -R -s -c 'split("\n")[:-1]')
BRANCHES=$(git branch -r | grep -E '(v[0-9]+.[0-9]+)|(release-[0-9]+.[0-9]+)|([0-9]+.[0-9]+$)' | sed -e 's#^ origin/##' | tr '\n' ',')
BRANCHES=$(git branch -r | grep -E '(v[0-9]+.[0-9]+)|(release-[0-9]+.[0-9]+)|([0-9]+.[0-9]+$)' | sed -e 's#^ origin/##' | tr '\n' ' ,')
echo "$BRANCHES"
echo "branches=$(echo $BRANCHES)" >> $GITHUB_ENV
echo "branches=$(echo $BRANCHES)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 654e3e7

Please sign in to comment.