ci: Add if for image scan job (#4416)

Co-authored-by: Link <link20050703@gmail.com>
This commit is contained in:
Fleny
2025-09-02 19:01:30 +02:00
committed by GitHub
parent 1feb3f0fd7
commit 8efd604be3

View File

@@ -94,6 +94,7 @@ jobs:
name: Image scan
runs-on: ubuntu-latest
needs: build
if: ${{ github.event_name == 'schedule' || github.event_name == 'push' }}
permissions:
contents: read
security-events: write