mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-03 18:07:41 +08:00
ci: skip scout job on forked repo
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
bc2748da59
commit
6efb1d7cdc
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -331,9 +331,9 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user