File tree Expand file tree Collapse file tree 9 files changed +18
-12
lines changed
Expand file tree Collapse file tree 9 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 1414jobs :
1515 download-payload :
1616 name : Download and extract payload artifact
17+ if : github.repository_owner == 'MicrosoftDocs'
1718 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
1819 with :
1920 WorkflowId : ${{ github.event.workflow_run.id }}
2324
2425 label-assign :
2526 name : Run assign and label
27+ if : github.repository_owner == 'MicrosoftDocs'
2628 needs : [download-payload]
2729 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelAssign.yml@workflows-prod
2830 with :
3234 ExcludedUserList : ' ["user1", "user2"]'
3335 ExcludedBranchList : ' ["branch1", "branch2"]'
3436 secrets :
35- AccessToken : ${{ secrets.GITHUB_TOKEN }}
37+ AccessToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 99
1010jobs :
1111 upload :
12+ if : github.repository_owner == 'MicrosoftDocs'
1213 runs-on : ubuntu-latest
1314
1415 steps :
2324 - uses : actions/upload-artifact@v4
2425 with :
2526 name : PayloadJson
26- path : pr/
27+ path : pr/
Original file line number Diff line number Diff line change 1111jobs :
1212
1313 build-status :
14+ if : github.repository_owner == 'MicrosoftDocs'
1415 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-BuildValidation.yml@workflows-prod
1516 with :
1617 PayloadJson : ${{ toJSON(github) }}
1718 secrets :
1819 AccessToken : ${{ secrets.GITHUB_TOKEN }}
19-
20-
21-
Original file line number Diff line number Diff line change 1212jobs :
1313
1414 live-merge :
15+ if : github.repository_owner == 'MicrosoftDocs'
1516 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-LiveMergeCheck.yml@workflows-prod
1617 with :
1718 PayloadJson : ${{ toJSON(github) }}
1819 secrets :
19- AccessToken : ${{ secrets.GITHUB_TOKEN }}
20+ AccessToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1212jobs :
1313
1414 file-count :
15+ if : github.repository_owner == 'MicrosoftDocs'
1516 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-PrFileCount.yml@workflows-prod
1617 with :
1718 PayloadJson : ${{ toJSON(github) }}
1819 secrets :
19- AccessToken : ${{ secrets.GITHUB_TOKEN }}
20+ AccessToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ on: [pull_request_target]
1010jobs :
1111
1212 protected-files :
13+ if : github.repository_owner == 'MicrosoftDocs'
1314 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ProtectedFiles.yml@workflows-prod
1415 with :
1516 PayloadJson : ${{ toJSON(github) }}
1617 secrets :
17- AccessToken : ${{ secrets.GITHUB_TOKEN }}
18+ AccessToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 stale :
14+ if : github.repository_owner == 'MicrosoftDocs'
1415 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-Stale.yml@workflows-prod
1516 with :
1617 RunDebug : false
Original file line number Diff line number Diff line change 1313jobs :
1414
1515 stale-branch :
16+ if : github.repository_owner == 'MicrosoftDocs'
1617 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod
1718 with :
1819 PayloadJson : ${{ toJSON(github) }}
2223 ]'
2324 ReportOnly : true
2425 secrets :
25- AccessToken : ${{ secrets.GITHUB_TOKEN }}
26+ AccessToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1111jobs :
1212
1313 tier-mgmt :
14- if : github.repository_visibility == 'private'
14+ if : github.repository_owner == 'MicrosoftDocs' && github. repository_visibility == 'private'
1515 uses : MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-TierManagement.yml@workflows-prod
1616 with :
1717 PayloadJson : ${{ toJSON(github) }}
1818 EnableWriteSignOff : 1
19- EnableReadOnlySignoff : 0
19+ EnableReadOnlySignoff : 1
2020 secrets :
21- AccessToken : ${{ secrets.GITHUB_TOKEN }}
21+ AccessToken : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments