diff --git a/.github/workflows/sync-dev-to-vX.Y-dev.yaml b/.github/workflows/sync-dev-to-vX.Y-dev.yaml index 3019659006..d2da4d4ea2 100644 --- a/.github/workflows/sync-dev-to-vX.Y-dev.yaml +++ b/.github/workflows/sync-dev-to-vX.Y-dev.yaml @@ -15,6 +15,7 @@ on: jobs: sync-branches: + if: github.repository == 'OAI/OpenAPI-Specification' runs-on: ubuntu-latest steps: - name: Generate access token diff --git a/.github/workflows/sync-main-to-dev.yaml b/.github/workflows/sync-main-to-dev.yaml index 09e1cd16e9..ea2a1b901e 100644 --- a/.github/workflows/sync-main-to-dev.yaml +++ b/.github/workflows/sync-main-to-dev.yaml @@ -15,6 +15,7 @@ on: jobs: sync-branch: + if: github.repository == 'OAI/OpenAPI-Specification' runs-on: ubuntu-latest steps: - name: Generate access token