Skip to content

Commit

Permalink
[291] Refactored excludes.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Sep 3, 2024
1 parent 2f61cf6 commit 5f002cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ jobs:
setup-matrix:
runs-on: ubuntu-latest
steps:
- if: github.ref_name == '5.x' || github.ref_name == 'feature/291--add-generic-scan-workflow'
- if: github.ref_name == '5.x'
uses: druzsan/setup-matrix@v2
with:
matrix: |
images: ${{ vars.IMAGES }}
exclude:
- images: "mailpit"
- images: mailpit
- if: github.ref_name != '5.x'
uses: druzsan/setup-matrix@v2
with:
matrix: |
images: ${{ vars.IMAGES }}
exclude:
- images: mailpit
- id: setup-matrix
run: echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
outputs:
Expand Down

0 comments on commit 5f002cb

Please sign in to comment.