1
0
mirror of synced 2025-12-30 03:01:36 -05:00

only run link checker when owner is github (#31872)

This commit is contained in:
Evan Bonsignori
2022-10-19 11:33:09 -07:00
committed by GitHub
parent 6a4d3ab7f1
commit fbfd065949

View File

@@ -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