diff --git a/.github/workflows/mock-project-build.yml b/.github/workflows/mock-project-build.yml index 527f5362ba..1c7f334280 100644 --- a/.github/workflows/mock-project-build.yml +++ b/.github/workflows/mock-project-build.yml @@ -13,6 +13,7 @@ concurrency: jobs: pr-check-ci: + if: github.repository == 'ant-design/ant-design' runs-on: ubuntu-latest name: Build Project steps: diff --git a/.github/workflows/pr-check-ci.yml b/.github/workflows/pr-check-ci.yml index b065fa90d9..33d9716ea9 100644 --- a/.github/workflows/pr-check-ci.yml +++ b/.github/workflows/pr-check-ci.yml @@ -10,6 +10,7 @@ permissions: jobs: pr-check-ci: + if: github.repository == 'ant-design/ant-design' permissions: checks: read # for actions-cool/check-pr-ci to get check reference contents: write # for actions-cool/check-pr-ci to merge PRs