diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index ef68e6941..b08dd73d0 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -6,6 +6,9 @@ on: create: # Publish semver tags as releases. tags: [ 'v*.*.*' ] + pull_request: + branches: + - main permissions: contents: read