diff --git a/.github/workflows/ant-build-pull-request.yaml b/.github/workflows/ant-build-pull-request.yaml index 3c6dfb0e6..08ad02649 100644 --- a/.github/workflows/ant-build-pull-request.yaml +++ b/.github/workflows/ant-build-pull-request.yaml @@ -5,6 +5,7 @@ on: pull_request jobs: build: runs-on: ubuntu-latest + if: "github.repository == 'yacy/yacy_search_server' steps: - uses: actions/checkout@master - name: Set up JDK 8 diff --git a/.github/workflows/ant-build-selfhosted.yaml b/.github/workflows/ant-build-selfhosted.yaml index a48137e3a..e97884679 100644 --- a/.github/workflows/ant-build-selfhosted.yaml +++ b/.github/workflows/ant-build-selfhosted.yaml @@ -5,6 +5,7 @@ on: push jobs: build: runs-on: self-hosted + if: "github.repository == 'yacy/yacy_search_server' steps: - uses: actions/checkout@master - name: Set up JDK 8