Skip to content

Commit

Permalink
Merge pull request #10076 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
merge main to live 10:30 AM 8/1/24
  • Loading branch information
American-Dipper authored Aug 1, 2024
2 parents 1676a20 + 74b220d commit 1e35f47
Show file tree
Hide file tree
Showing 14 changed files with 182 additions and 14 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/AutoLabelAssign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Assign and label PR

permissions:
pull-requests: write
contents: read
actions: read

on:
workflow_run:
workflows: [Background tasks]
types:
- completed

jobs:
download-payload:
name: Download and extract payload artifact
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
with:
WorkflowId: ${{ github.event.workflow_run.id }}
OrgRepo: ${{ github.repository }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}

label-assign:
name: Run assign and label
needs: [download-payload]
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelAssign.yml@workflows-prod
with:
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }}
AutoAssignUsers: 1
AutoLabel: 1
ExcludedUserList: '["user1", "user2"]'
ExcludedBranchList: '["branch1", "branch2"]'
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}






40 changes: 40 additions & 0 deletions .github/workflows/AutoLabelMsftContributor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Auto label Microsoft contributors

permissions:
pull-requests: write
contents: read
actions: read

on:
workflow_run:
workflows: [Background tasks]
types:
- completed

jobs:
download-payload:
if: github.repository_visibility == 'public'
name: Download and extract payload artifact
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
with:
WorkflowId: ${{ github.event.workflow_run.id }}
OrgRepo: ${{ github.repository }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}

label-msft:
name: Label Microsoft contributors
if: github.repository_visibility == 'public'
needs: [download-payload]
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod
with:
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}
TeamReadAccessToken: ${{ secrets.ORG_READTEAMS_TOKEN }}






26 changes: 26 additions & 0 deletions .github/workflows/BackgroundTasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Background tasks

permissions:
pull-requests: write
contents: read

on:
pull_request_target:

jobs:
upload:
runs-on: ubuntu-latest

steps:
- name: Save payload data
env:
PayloadJson: ${{ toJSON(github) }}
AccessToken: ${{ github.token }}
run: |
mkdir -p ./pr
echo $PayloadJson > ./pr/PayloadJson.json
sed -i -e "s/$AccessToken/XYZ/g" ./pr/PayloadJson.json
- uses: actions/upload-artifact@v4
with:
name: PayloadJson
path: pr/
22 changes: 22 additions & 0 deletions .github/workflows/LiveMergeCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR can merge into branch

permissions:
pull-requests: write
statuses: write
contents: read

on:
pull_request_target:
types: [opened, reopened, synchronize, edited]

jobs:

live-merge:
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-LiveMergeCheck.yml@workflows-prod
with:
PayloadJson: ${{ toJSON(github) }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}



22 changes: 22 additions & 0 deletions .github/workflows/PrFileCount.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR file count less than limit

permissions:
pull-requests: write
statuses: write
contents: read

on:
pull_request_target:
types: [opened, reopened, synchronize, labeled, unlabeled, edited]

jobs:

file-count:
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-PrFileCount.yml@workflows-prod
with:
PayloadJson: ${{ toJSON(github) }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}



20 changes: 20 additions & 0 deletions .github/workflows/ProtectedFiles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR has no protected files

permissions:
pull-requests: write
statuses: write
contents: read

on: [pull_request_target]

jobs:

protected-files:
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ProtectedFiles.yml@workflows-prod
with:
PayloadJson: ${{ toJSON(github) }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}



1 change: 0 additions & 1 deletion windows/application-management/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"folder_relative_path_in_docset": "./"
}
},
"titleSuffix": "Windows Application Management",
"contributors_to_exclude": [
"dstrome2",
"rjagiewich",
Expand Down
5 changes: 2 additions & 3 deletions windows/client-management/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@
"folder_relative_path_in_docset": "./"
}
},
"titleSuffix": "Windows Client Management",
"contributors_to_exclude": [
"dstrome2",
"rjagiewich",
"rjagiewich",
"American-Dipper",
"claydetels19",
"claydetels19",
"jborsecnik",
"v-stchambers",
"shdyas",
Expand Down
5 changes: 4 additions & 1 deletion windows/client-management/mdm/policy-csp-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -1222,8 +1222,11 @@ If you enter an invalid value, you'll remain on your current version until you c
<!-- TargetReleaseVersion-Editable-Begin -->
<!-- Add any additional information about this policy here. Anything outside this section will get overwritten. -->
Supported value type is a string containing Windows version number. For example, `1809`, `1903`, etc.
<!-- TargetReleaseVersion-Editable-End -->

> [!NOTE]
> You need to set up the ProductVersion CSP along with the TargetReleaseVersion CSP for it to work.
<!-- TargetReleaseVersion-Editable-End -->
<!-- TargetReleaseVersion-DFProperties-Begin -->
**Description framework properties**:

Expand Down
1 change: 0 additions & 1 deletion windows/configuration/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"folder_relative_path_in_docset": "./"
}
},
"titleSuffix": "Configure Windows",
"contributors_to_exclude": [
"dstrome2",
"rjagiewich",
Expand Down
5 changes: 2 additions & 3 deletions windows/deployment/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@
"folder_relative_path_in_docset": "./"
}
},
"titleSuffix": "Windows Deployment",
"contributors_to_exclude": [
"dstrome2",
"rjagiewich",
"rjagiewich",
"American-Dipper",
"claydetels19",
"claydetels19",
"jborsecnik",
"v-stchambers",
"shdyas",
Expand Down
5 changes: 2 additions & 3 deletions windows/hub/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@
"folder_relative_path_in_docset": "./"
}
},
"titleSuffix": "Windows for IT Pros",
"contributors_to_exclude": [
"dstrome2",
"rjagiewich",
"rjagiewich",
"American-Dipper",
"claydetels19",
"claydetels19",
"jborsecnik",
"v-stchambers",
"shdyas",
Expand Down
2 changes: 1 addition & 1 deletion windows/hub/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ summary: Learn how to deploy, secure, and manage Windows clients for your organi
brand: windows

metadata:
title: Windows client documentation
title: Windows client documentation for IT Pros
description: Learn how to deploy, secure, and manage Windows clients for your organization.
ms.topic: hub-page
ms.service: windows-client
Expand Down
1 change: 0 additions & 1 deletion windows/security/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"folder_relative_path_in_docset": "./"
}
},
"titleSuffix": "Windows Security",
"contributors_to_exclude": [
"alekyaj",
"alexbuckgit",
Expand Down

0 comments on commit 1e35f47

Please sign in to comment.