diff --git a/.github/workflows/images-verify.yaml b/.github/workflows/images-verify.yaml index 89d5a6e89..b006a96e6 100644 --- a/.github/workflows/images-verify.yaml +++ b/.github/workflows/images-verify.yaml @@ -12,6 +12,8 @@ jobs: # check if developer doesn't change `main` images in the values.yaml and sec-scanners-config.yaml files verify-sec-scanner-and-values-files: runs-on: ubuntu-latest + if: github.event.pull_request.base.ref == 'main' + steps: - name: Checkout to main uses: actions/checkout@v4