Skip to content

Commit

Permalink
docker-image-vulnerability-scan.yaml skal kjøre på dev-branchen også
Browse files Browse the repository at this point in the history
`dev`-branchen er default så vi bør kjøre workflow-en på denne branchen også slik at default view-et i "Security"-taben blir oppdatert.
  • Loading branch information
slovrid authored Jan 8, 2024
1 parent 2e8cfa7 commit 728e05f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image-vulnerability-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
build-and-scan-docker-image:
name: Build and scan Docker image
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -50,4 +50,4 @@ jobs:
- name: Upload results to GitHub Security
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy.sarif'
sarif_file: 'trivy.sarif'

0 comments on commit 728e05f

Please sign in to comment.