File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313
1414jobs :
1515 download-payload :
16- if : github.repository_visibility == 'public'
16+ if : github.repository_owner == 'MicrosoftDocs' && github. repository_visibility == 'public'
1717 name : Download and extract payload artifact
1818 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
1919 with :
@@ -24,12 +24,12 @@ jobs:
2424
2525 label-msft :
2626 name : Label Microsoft contributors
27- if : github.repository_visibility == 'public'
27+ if : github.repository_owner == 'MicrosoftDocs' && github. repository_visibility == 'public'
2828 needs : [download-payload]
2929 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod
3030 with :
3131 PayloadJson : ${{ needs.download-payload.outputs.WorkflowPayload }}
3232 secrets :
3333 AccessToken : ${{ secrets.GITHUB_TOKEN }}
3434 ClientId : ${{ secrets.M365_APP_CLIENT_ID }}
35- PrivateKey : ${{ secrets.M365_APP_PRIVATE_KEY }}
35+ PrivateKey : ${{ secrets.M365_APP_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments