Skip to content

Commit

Permalink
use 4.3.0 release of git-scan
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed Jun 14, 2024
1 parent 58514e9 commit 7d27623
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/vaas-scan-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
VAAS_CLIENT_SECRET: ${{ inputs.VAAS_CLIENT_SECRET }}
VAAS_USERNAME: ${{ inputs.VAAS_USERNAME }}
VAAS_PASSWORD: ${{ inputs.VAAS_PASSWORD }}
uses: docker://ghcr.io/gdatasoftwareag/vaas/git-scan:4
uses: docker://ghcr.io/gdatasoftwareag/vaas/git-scan:4.3.0
if: github.event_name == 'pull_request'
with:
entrypoint: /bin/bash
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ci-git-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
tags:
- "git-scan*"
paths:
- "golang/vaas/**"
- ".github/workflows/ci-git-scan.yaml"

jobs:
build-git-scan:
Expand All @@ -13,6 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Scan for Viruses
uses: ./.github/actions/vaas-scan-action
with:
VAAS_CLIENT_ID: ${{ secrets.VAAS_SCAN_CLIENT_ID }}
VAAS_CLIENT_SECRET: ${{ secrets.VAAS_SCAN_CLIENT_SECRET }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Scan for Viruses
uses: ./.github/actions/vaas-scan-action
with:
VAAS_CLIENT_ID: ${{ secrets.VAAS_SCAN_CLIENT_ID }}
VAAS_CLIENT_SECRET: ${{ secrets.VAAS_SCAN_CLIENT_SECRET }}

- name: set staging environment
if: (inputs.environment == 'staging' || (startsWith(github.ref, 'refs/tags/go') && endsWith(github.ref, '-beta')))
run: |
Expand Down

0 comments on commit 7d27623

Please sign in to comment.