diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46d6c87a..7a1aec38 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,7 @@ jobs: bin-image: runs-on: ubuntu-22.04 - if: ${{ github.event_name != 'pull_request' }} + if: ${{ github.event_name != 'pull_request' && github.repository == 'docker/buildx' }} steps: - name: Checkout diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml index cc580c44..ec96d508 100644 --- a/.github/workflows/docs-release.yml +++ b/.github/workflows/docs-release.yml @@ -8,7 +8,7 @@ on: jobs: open-pr: runs-on: ubuntu-22.04 - if: "!github.event.release.prerelease" + if: ${{ github.event.release.prerelease != true && github.repository == 'docker/buildx' }} steps: - name: Checkout docs repo