diff --git a/.github/workflows/link-check-on-pr.yml b/.github/workflows/link-check-on-pr.yml index 58b0d6f5e4..6a5b7fa147 100644 --- a/.github/workflows/link-check-on-pr.yml +++ b/.github/workflows/link-check-on-pr.yml @@ -26,7 +26,7 @@ concurrency: jobs: check-links: runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }} - if: github.repository == 'github/docs-internal' || github.repository == 'github/docs' + if: (github.repository == 'github/docs-internal' || github.repository == 'github/docs') && github.repository_owner == 'github' steps: - name: Checkout uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748