From 6efb1d7cdcffe32ecadb716a89368c4063a3b1ab Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 25 Jul 2024 13:54:07 +0200 Subject: [PATCH] ci: skip scout job on forked repo Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7bdda7f..715d22d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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