Skip to content

Commit

Permalink
run image-verify workflow on PRs to main only
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Sep 17, 2024
1 parent 0269183 commit 890f76b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/images-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 890f76b

Please sign in to comment.