Merge pull request #2628 from crazy-max/ci-skip-scout

ci: checkout step for scout job
This commit is contained in:
thompson-shaun 2024-07-25 13:00:29 -04:00 committed by GitHub
commit d130f8ef0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -331,13 +331,16 @@ jobs:
scout: scout:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' && github.repository == 'docker/buildx' }}
permissions: permissions:
# required to wirte sarif report # required to write sarif report
security-events: write security-events: write
needs: needs:
- bin-image - bin-image
steps: steps:
-
name: Checkout
uses: actions/checkout@v4
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v3 uses: docker/login-action@v3