Skip to content

Commit

Permalink
wip19
Browse files Browse the repository at this point in the history
  • Loading branch information
maci3jka committed Nov 14, 2024
1 parent 0ea0ff1 commit 962f334
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- name: create branches to test
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/##' | 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' ',')
echo "$BRANCHES"
echo "branches=$(echo $BRANCHES)" >> $GITHUB_ENV
echo "branches=$(echo $BRANCHES)" >> $GITHUB_OUTPUT
Expand All @@ -38,7 +39,8 @@ jobs:
matrix:
# branch: ["1.28"]
# branch: ["1.28","release-1.30","release-1.31","v1.1"]
branch: ${{ fromJson(needs.prepare.outputs.branches) }}
# branch: ${{ fromJson(needs.prepare.outputs.branches) }}
branch: [${{ needs.prepare.outputs.branches }}, master]
# branch: [master]
permissions:
security-events: write
Expand Down

0 comments on commit 962f334

Please sign in to comment.