Skip to content

Commit

Permalink
Add PR scan only
Browse files Browse the repository at this point in the history
  • Loading branch information
DoPaNik committed Nov 10, 2023
1 parent b744080 commit b4bc6c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/buildAndPushContainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
push:
branches:
- main
pull_request:
branches: [ "**" ]

jobs:
build:
Expand Down Expand Up @@ -44,10 +46,13 @@ jobs:

- name: Docker Scout
id: docker-scout
if: ${{ github.event_name == 'pull_request' }}
uses: docker/scout-action@v1
with:
command: quickview,cves,recommendations,sbom
to-latest: true
ignore-base: true
ignore-unchanged: true
only-fixed: true
only-severities: critical,high
write-comment: true
github-token: ${{ secrets.GH_TOKEN }}

0 comments on commit b4bc6c1

Please sign in to comment.