Skip to content

Commit

Permalink
Scan - test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
gmontalvoy committed Dec 5, 2023
1 parent 1363fdb commit cc04ca8
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/changedFiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,34 @@ on:
branches:
- main
jobs:
changed_files:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get changed files
run: |
git diff --name-only ${{ github.event.before }} ${{ github.sha }}
# - name: Build
# uses: docker/build-push-action@v4
# with:
# context: .
# push: true
# tags: user/app:latest
# context: .
# push: true
# tags: user/app:latest

Meta:
runs-on: ubuntu-latest
steps:
- name: Get changed files
run: |
git diff --name-only ${{ github.event.before }} ${{ github.sha }}
Compliance:
runs-on: ubuntu-latest
steps:
- name: Container Scan
uses: crazy-max/[email protected]
with:
image: vulnerables/web-dvwa:latest
severity_threshold: HIGH
severity_threshold: CRITICAL

0 comments on commit cc04ca8

Please sign in to comment.