ci: skip scout job on forked repo

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2024-07-25 13:54:07 +02:00
parent bc2748da59
commit 6efb1d7cdc
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4
1 changed files with 2 additions and 2 deletions

View File

@ -331,9 +331,9 @@ jobs:
scout:
runs-on: ubuntu-24.04
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'docker/buildx' }}
permissions:
# required to wirte sarif report
# required to write sarif report
security-events: write
needs:
- bin-image