mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 05:17:22 +00:00
Add check to run only if triggered from MicrosoftDocs repo
This commit is contained in:
parent
2196ab50bf
commit
1f3ac852c7
@ -13,7 +13,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
download-payload:
|
download-payload:
|
||||||
if: github.repository_visibility == 'public'
|
if: github.repository_owner == 'MicrosoftDocs' && github.repository_visibility == 'public'
|
||||||
name: Download and extract payload artifact
|
name: Download and extract payload artifact
|
||||||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
|
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
|
||||||
with:
|
with:
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
label-msft:
|
label-msft:
|
||||||
name: Label Microsoft contributors
|
name: Label Microsoft contributors
|
||||||
if: github.repository_visibility == 'public'
|
if: github.repository_owner == 'MicrosoftDocs' && github.repository_visibility == 'public'
|
||||||
needs: [download-payload]
|
needs: [download-payload]
|
||||||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod
|
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user