diff --git a/.github/workflows/assign-reviewers.yml b/.github/workflows/assign-reviewers.yml index 3dfd8bcbac..38509d9873 100644 --- a/.github/workflows/assign-reviewers.yml +++ b/.github/workflows/assign-reviewers.yml @@ -12,6 +12,7 @@ on: jobs: assign-reviewers: + if: github.repository == 'open-telemetry/opentelemetry-demo' runs-on: ubuntu-latest steps: - uses: dyladan/component-owners@main diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 9f8064963c..d3225ef879 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -21,6 +21,7 @@ on: jobs: build_and_push_images: + if: github.repository == 'open-telemetry/opentelemetry-demo' runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3d935c9bf..a2435a49ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: jobs: build_and_push_images: uses: ./.github/workflows/build-images.yml + if: github.repository == 'open-telemetry/opentelemetry-demo' with: push: true version: ${{ github.event.release.tag_name }}