From 8dcb7485d986ee35e4c4869c46e89523d9fe3a14 Mon Sep 17 00:00:00 2001 From: Simon Bourdages Date: Wed, 26 Mar 2025 15:58:44 +0000 Subject: [PATCH 01/11] added note about still rolling out --- .../sharepoint-online/Add-SPOAppPrioritizationPolicy.md | 2 ++ .../sharepoint-online/Get-SPOAppPrioritizationPolicies.md | 2 ++ .../sharepoint-online/Remove-SPOAppPrioritizationPolicy.md | 2 ++ .../sharepoint-online/Set-SPOAppPrioritizationPolicy.md | 4 +++- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md index d99791678..20b70511f 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md @@ -15,6 +15,8 @@ ms.reviewer: ## SYNOPSIS Adds a new SPO app prioritization Policy to your tenancy. +> [!NOTE] +> This functionnality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md index 1673f04cf..1b1e27b14 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md @@ -15,6 +15,8 @@ ms.reviewer: ## SYNOPSIS Gets all existing SPO app prioritization policies of your tenancy. +> [!NOTE] +> This functionnality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md index 57cd71cd3..2dc727d25 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md @@ -15,6 +15,8 @@ ms.reviewer: ## SYNOPSIS Deletes an existing SPO app prioritization policy in your tenancy. +> [!NOTE] +> This functionnality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md index 941bd8ecd..a5eab5cd2 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md @@ -14,7 +14,9 @@ ms.reviewer: ## SYNOPSIS -Edits an existing SPO app prioritization policy in your tenancy. +Edits an existing SPO app prioritization policy in your tenancy. +> [!NOTE] +> This functionnality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX From dfd625aab51879946290b95f99e5ce1f1843ced5 Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:39:46 +0530 Subject: [PATCH 02/11] spelling fix --- .../sharepoint-online/Add-SPOAppPrioritizationPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md index 20b70511f..157563d5c 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md @@ -16,7 +16,7 @@ ms.reviewer: Adds a new SPO app prioritization Policy to your tenancy. > [!NOTE] -> This functionnality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX From 8270f87cf941074fc6480ab05f31ccdc1e5401ad Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:40:54 +0530 Subject: [PATCH 03/11] spelling fix --- .../sharepoint-online/Get-SPOAppPrioritizationPolicies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md index 1b1e27b14..5e15e4e18 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md @@ -16,7 +16,7 @@ ms.reviewer: Gets all existing SPO app prioritization policies of your tenancy. > [!NOTE] -> This functionnality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX From 8c753c4862a96d5bcc8e3d5cdb234f2e8ab8c849 Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:42:07 +0530 Subject: [PATCH 04/11] spelling fix --- .../sharepoint-online/Remove-SPOAppPrioritizationPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md index 2dc727d25..c5446167d 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md @@ -16,7 +16,7 @@ ms.reviewer: Deletes an existing SPO app prioritization policy in your tenancy. > [!NOTE] -> This functionnality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX From 01642481af7d8b91829f3328aaac7360de49560e Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:42:55 +0530 Subject: [PATCH 05/11] spelling fix --- .../sharepoint-online/Set-SPOAppPrioritizationPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md index a5eab5cd2..b7f1853ac 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md @@ -16,7 +16,7 @@ ms.reviewer: Edits an existing SPO app prioritization policy in your tenancy. > [!NOTE] -> This functionnality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled on your environment yet. ## SYNTAX From 30db43f15088bf3819a7dc4f48a96ca338ca3a8b Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:46:29 +0530 Subject: [PATCH 06/11] Fix typo --- .../sharepoint-online/Add-SPOAppPrioritizationPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md index 157563d5c..be7fbdf08 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md @@ -16,7 +16,7 @@ ms.reviewer: Adds a new SPO app prioritization Policy to your tenancy. > [!NOTE] -> This functionality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled in your environment yet. ## SYNTAX From 423422e45981bc5ece412e57698a276ce76e6561 Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:46:53 +0530 Subject: [PATCH 07/11] spelling fix --- .../sharepoint-online/Remove-SPOAppPrioritizationPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md index c5446167d..74f412757 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOAppPrioritizationPolicy.md @@ -16,7 +16,7 @@ ms.reviewer: Deletes an existing SPO app prioritization policy in your tenancy. > [!NOTE] -> This functionality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled in your environment yet. ## SYNTAX From 2171993263de8dda6551b3e477cf154fac4f2afb Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:47:20 +0530 Subject: [PATCH 08/11] Fix typo --- .../sharepoint-online/Get-SPOAppPrioritizationPolicies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md index 5e15e4e18..49a908a05 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppPrioritizationPolicies.md @@ -16,7 +16,7 @@ ms.reviewer: Gets all existing SPO app prioritization policies of your tenancy. > [!NOTE] -> This functionality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled in your environment yet. ## SYNTAX From d08a12eeff033976b3227996e2fdde3df911684d Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Wed, 26 Mar 2025 22:47:44 +0530 Subject: [PATCH 09/11] Fix typo --- .../sharepoint-online/Set-SPOAppPrioritizationPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md index b7f1853ac..124b2e81e 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md @@ -16,7 +16,7 @@ ms.reviewer: Edits an existing SPO app prioritization policy in your tenancy. > [!NOTE] -> This functionality is rolling out and might not be fully enabled on your environment yet. +> This functionality is rolling out and might not be fully enabled in your environment yet. ## SYNTAX From ec46854b8263cc7807c1eda3578a4064ff783450 Mon Sep 17 00:00:00 2001 From: Simon Bourdages Date: Wed, 26 Mar 2025 19:07:24 +0000 Subject: [PATCH 10/11] fixed information about Quota multiplier --- .../sharepoint-online/Add-SPOAppPrioritizationPolicy.md | 2 +- .../sharepoint-online/Set-SPOAppPrioritizationPolicy.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md index be7fbdf08..1d29bfb17 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Add-SPOAppPrioritizationPolicy.md @@ -110,7 +110,7 @@ Accept wildcard characters: False ``` ### -QuotaMultiplier -This parameter specifies the multiplier for the scaling feature. +This parameter specifies the multiplier for the scaling feature. Value must be between 2 and 10. ```yaml Type: int diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md index 124b2e81e..41b627488 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOAppPrioritizationPolicy.md @@ -92,7 +92,7 @@ Accept wildcard characters: False ### -QuotaMultiplier -This parameter specifies the quota multiplier limit for the scaling feature. Value must be between 1 and 10. +This parameter specifies the quota multiplier limit for the scaling feature. Value must be between 2 and 10. ```yaml Type: int From dad055b9d40457ea18f65f25aca3f66f29a2bd06 Mon Sep 17 00:00:00 2001 From: David Strome <21028455+dstrome@users.noreply.github.com> Date: Wed, 26 Mar 2025 14:16:26 -0700 Subject: [PATCH 11/11] Add check to run only if triggered from MicrosoftDocs repo --- .github/workflows/AutoLabelAssign.yml | 10 +++------- .github/workflows/AutoLabelMsftContributor.yml | 6 +++--- .github/workflows/BackgroundTasks.yml | 3 ++- .github/workflows/BuildValidation.yml | 4 +--- .github/workflows/LiveMergeCheck.yml | 6 ++---- .github/workflows/PrFileCount.yml | 6 ++---- .github/workflows/ProtectedFiles.yml | 6 ++---- .github/workflows/Stale.yml | 1 + .github/workflows/StaleBranch.yml | 3 ++- .github/workflows/TierManagement.yml | 4 ++-- 10 files changed, 20 insertions(+), 29 deletions(-) diff --git a/.github/workflows/AutoLabelAssign.yml b/.github/workflows/AutoLabelAssign.yml index 8247aa8e9..65e87b3d4 100644 --- a/.github/workflows/AutoLabelAssign.yml +++ b/.github/workflows/AutoLabelAssign.yml @@ -14,6 +14,7 @@ on: jobs: download-payload: name: Download and extract payload artifact + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod with: WorkflowId: ${{ github.event.workflow_run.id }} @@ -23,6 +24,7 @@ jobs: label-assign: name: Run assign and label + if: github.repository_owner == 'MicrosoftDocs' needs: [download-payload] uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelAssign.yml@workflows-prod with: @@ -32,10 +34,4 @@ jobs: ExcludedUserList: '["user1", "user2"]' ExcludedBranchList: '["branch1", "branch2"]' secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} - - - - - - + AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/AutoLabelMsftContributor.yml b/.github/workflows/AutoLabelMsftContributor.yml index c41825acc..6fcfb6e43 100644 --- a/.github/workflows/AutoLabelMsftContributor.yml +++ b/.github/workflows/AutoLabelMsftContributor.yml @@ -13,7 +13,7 @@ on: jobs: download-payload: - if: github.repository_visibility == 'public' + if: github.repository_owner == 'MicrosoftDocs' && github.repository_visibility == 'public' name: Download and extract payload artifact uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod with: @@ -24,7 +24,7 @@ jobs: label-msft: name: Label Microsoft contributors - if: github.repository_visibility == 'public' + if: github.repository_owner == 'MicrosoftDocs' && github.repository_visibility == 'public' needs: [download-payload] uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod with: @@ -32,4 +32,4 @@ jobs: secrets: AccessToken: ${{ secrets.GITHUB_TOKEN }} ClientId: ${{ secrets.M365_APP_CLIENT_ID }} - PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }} + PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }} \ No newline at end of file diff --git a/.github/workflows/BackgroundTasks.yml b/.github/workflows/BackgroundTasks.yml index c0389bb25..8dc3ceae0 100644 --- a/.github/workflows/BackgroundTasks.yml +++ b/.github/workflows/BackgroundTasks.yml @@ -9,6 +9,7 @@ on: jobs: upload: + if: github.repository_owner == 'MicrosoftDocs' runs-on: ubuntu-latest steps: @@ -23,4 +24,4 @@ jobs: - uses: actions/upload-artifact@v4 with: name: PayloadJson - path: pr/ + path: pr/ \ No newline at end of file diff --git a/.github/workflows/BuildValidation.yml b/.github/workflows/BuildValidation.yml index e57844b45..dadccacbe 100644 --- a/.github/workflows/BuildValidation.yml +++ b/.github/workflows/BuildValidation.yml @@ -11,11 +11,9 @@ on: jobs: build-status: + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-BuildValidation.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} secrets: AccessToken: ${{ secrets.GITHUB_TOKEN }} - - - diff --git a/.github/workflows/LiveMergeCheck.yml b/.github/workflows/LiveMergeCheck.yml index faeb2a0ef..7db35548e 100644 --- a/.github/workflows/LiveMergeCheck.yml +++ b/.github/workflows/LiveMergeCheck.yml @@ -12,11 +12,9 @@ on: jobs: live-merge: + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-LiveMergeCheck.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} - - - \ No newline at end of file + AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/PrFileCount.yml b/.github/workflows/PrFileCount.yml index 40f7d6162..17faf7a21 100644 --- a/.github/workflows/PrFileCount.yml +++ b/.github/workflows/PrFileCount.yml @@ -12,11 +12,9 @@ on: jobs: file-count: + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-PrFileCount.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} - - - + AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/ProtectedFiles.yml b/.github/workflows/ProtectedFiles.yml index 007f8f04b..bbdbbe2e4 100644 --- a/.github/workflows/ProtectedFiles.yml +++ b/.github/workflows/ProtectedFiles.yml @@ -10,11 +10,9 @@ on: [pull_request_target] jobs: protected-files: + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ProtectedFiles.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} - - - \ No newline at end of file + AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/Stale.yml b/.github/workflows/Stale.yml index dec280f77..7f262d325 100644 --- a/.github/workflows/Stale.yml +++ b/.github/workflows/Stale.yml @@ -11,6 +11,7 @@ on: jobs: stale: + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-Stale.yml@workflows-prod with: RunDebug: false diff --git a/.github/workflows/StaleBranch.yml b/.github/workflows/StaleBranch.yml index 470eadbd3..f55d97929 100644 --- a/.github/workflows/StaleBranch.yml +++ b/.github/workflows/StaleBranch.yml @@ -13,6 +13,7 @@ on: jobs: stale-branch: + if: github.repository_owner == 'MicrosoftDocs' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} @@ -22,4 +23,4 @@ jobs: ]' ReportOnly: true secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} + AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/TierManagement.yml b/.github/workflows/TierManagement.yml index c9aedb08b..47baf0be6 100644 --- a/.github/workflows/TierManagement.yml +++ b/.github/workflows/TierManagement.yml @@ -11,11 +11,11 @@ on: jobs: tier-mgmt: - if: github.repository_visibility == 'private' + if: github.repository_owner == 'MicrosoftDocs' && github.repository_visibility == 'private' uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-TierManagement.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} EnableWriteSignOff: 1 EnableReadOnlySignoff: 1 secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} + AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file