diff --git a/.github/workflows/clusterkubevirtadm-test.yaml b/.github/workflows/clusterkubevirtadm-test.yaml index 689ae096..33c1d193 100644 --- a/.github/workflows/clusterkubevirtadm-test.yaml +++ b/.github/workflows/clusterkubevirtadm-test.yaml @@ -10,6 +10,7 @@ on: name: test-clusterkubevirtadm jobs: clusterkubevirtadm-unit_test: + if: github.repository == 'kubernetes-sigs/cluster-api-provider-kubevirt' runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml index a9e3e9e8..dc6ca3c6 100644 --- a/.github/workflows/create_release.yaml +++ b/.github/workflows/create_release.yaml @@ -7,6 +7,7 @@ name: Upload Release Asset jobs: build-and-push-image: + if: github.repository == 'kubernetes-sigs/cluster-api-provider-kubevirt' runs-on: ubuntu-latest steps: - name: Checkout code @@ -24,6 +25,7 @@ jobs: make docker-build-all make docker-push-all build: + if: github.repository == 'kubernetes-sigs/cluster-api-provider-kubevirt' name: Upload Release Asset needs: build-and-push-image runs-on: ubuntu-latest diff --git a/.github/workflows/image_build.yaml b/.github/workflows/image_build.yaml index 643298fa..86bb9300 100644 --- a/.github/workflows/image_build.yaml +++ b/.github/workflows/image_build.yaml @@ -4,6 +4,7 @@ on: - "main" jobs: build-and-push-image: + if: github.repository == 'kubernetes-sigs/cluster-api-provider-kubevirt' runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0ac86b35..89f71b05 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -43,6 +43,7 @@ jobs: $(go env GOPATH)/bin/goveralls -coverprofile=coverprofiles/cover.coverprofile -service=github go-linter: + if: github.repository == 'kubernetes-sigs/cluster-api-provider-kubevirt' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -57,6 +58,7 @@ jobs: version: v1.59.0 check-gen: + if: github.repository == 'kubernetes-sigs/cluster-api-provider-kubevirt' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3