Skip to content

Commit

Permalink
Merge branch 'public' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dstrome authored Aug 1, 2024
2 parents 3cafb59 + eca8765 commit 1a611ef
Show file tree
Hide file tree
Showing 1,568 changed files with 24,814 additions and 85,566 deletions.
48 changes: 22 additions & 26 deletions .acrolinx-config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,63 +2,59 @@
:allowed-branchname-matches ["main" "release-.*"]
:allowed-filename-matches ["windows/"]

:targets
:use-gh-statuses true

:targets
{
:counts {
;;:correctness 13
;;:total 15 ;; absolute flag count but i don't know the difference between this and issues
;;:issues 15 ;; coming from the platform, will need to be tested.
;;:correctness 13
;;:total 15 ;;
;;:issues 15 ;;
;;:correctness 13 ;;
}
:scores {
;;:terminology 100
:qualityscore 80 ;; Confirmed with Hugo that you just comment out the single score and leave the structure in place
:qualityscore 80 ;;
;;:correctness 40
}
}

:guidance-profile "d2b6c2c8-00ee-47f1-8d10-b280cc3434c1" ;; Profile ID for "M365-specific"

:acrolinx-check-settings
{
"languageId" "en"
"ruleSetName" "Standard"
"requestedFlagTypes" ["CORRECTNESS" "SPELLING" "GRAMMAR" "STYLE"
"TERMINOLOGY_DEPRECATED"
"TERMINOLOGY_VALID"
"VOICE_GUIDANCE"
]
"termSetNames" ["M365" "Products" "Microsoft"]
}

:template-header

"
## Acrolinx Scorecards
## Acrolinx Scorecards
**The minimum Acrolinx topic score of 80 is required for all MAGIC content merged to the default branch.**
**The minimum Acrolinx topic score of 80 is required for all Magic content merged to the default branch.**
If you need a scoring exception for content in this PR, add the *Sign off* and the *Acrolinx exception* labels to the PR. The PubOps Team will review the exception request and may take one or more of the following actions:
- Work with you to resolve the issues requiring the exception.
- Escalate the exception request to the Acrolinx Review Team for review.
- Approve the exception and work with the GitHub Admin Team to merge the PR to the default branch.
For more information about the exception criteria and exception process, see [Minimum Acrolinx topic scores for publishing](https://review.docs.microsoft.com/en-us/office-authoring-guide/acrolinx-min-score?branch=master).
For more information about the exception criteria and exception process, see [Minimum Acrolinx topic scores for publishing](https://review.docs.microsoft.com/en-us/office-authoring-guide/acrolinx-min-score?branch=main).
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:
Select the total score link to review all feedback on clarity, consistency, tone, brand, terms, spelling, grammar, readability, and inclusive language. _You should fix all spelling errors regardless of your total score_. Fixing spelling errors helps maintain customer trust in overall content quality.
| Article | Score | Issues | Correctness<br>score | Scorecard | Processed |
| ------- | ----- | ------ | ------ | --------- | --------- |
| Article | Total score<br>(Required: 80) | Words + phrases<br>(Brand, terms) | Correctness<br>(Spelling, grammar) | Clarity<br>(Readability) |
|---------|:--------------:|:--------------------:|:------:|:---------:|
"

:template-change
"| ${s/file} | ${acrolinx/qualityscore} | ${acrolinx/flags/issues} | ${acrolinx/scores/correctness} | [link](${acrolinx/scorecard}) | ${s/status} |
"| ${s/status} ${s/file} | [${acrolinx/qualityscore}](${acrolinx/scorecard}) | ${acrolinx/scores/words_and_phrases} | ${acrolinx/scores/correctness} | ${acrolinx/scores/clarity} |
"

:template-footer
"
**More info about Acrolinx**
**More information about Acrolinx**
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see [Use the Visual Studio Code extension to run Acrolinx locally](https://review.docs.microsoft.com/en-us/office-authoring-guide/acrolinx-vscode?branch=master).
- [Install Acrolinx locally for VSCode for Magic](https://review.docs.microsoft.com/office-authoring-guide/acrolinx-vscode?branch=main)
- [False positives or issues](https://aka.ms/acrolinxbug)
- [Request a new Acrolinx term](https://microsoft.sharepoint.com/teams/M365Dev2/SitePages/M365-terminology.aspx)
- [Troubleshooting issues with Acrolinx](https://review.docs.microsoft.com/help/contribute/acrolinx-error-messages)
"
}
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 }}



77 changes: 77 additions & 0 deletions .openpublishing.redirection.education.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,83 @@
"source_path": "education/windows/windows-editions-for-education-customers.md",
"redirect_url": "/education/windows",
"redirect_document_id": false
},
{
"source_path": "education/windows/configure-windows-for-education.md",
"redirect_url": "/education/windows",
"redirect_document_id": false
},


{
"source_path": "education/windows/tutorial-school-deployment/configure-device-apps.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/configure-device-apps",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/configure-device-settings.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/configure-device-settings",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/configure-devices-overview.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/configure-devices-overview",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/enroll-autopilot.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/enroll-autopilot",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/enroll-entra-join.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/enroll-entra-join",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/enroll-overview.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/enroll-overview",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/enroll-package.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/enroll-package",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/index.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/introduction",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/manage-overview.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/manage-overview",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/manage-surface-devices.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/manage-surface-devices",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/reset-wipe.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/reset-wipe",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/set-up-microsoft-entra-id.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/set-up-microsoft-entra-id",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/set-up-microsoft-intune.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/set-up-microsoft-intune",
"redirect_document_id": false
},
{
"source_path": "education/windows/tutorial-school-deployment/troubleshoot-overview.md",
"redirect_url": "/mem/intune/industry/education/tutorial-school-deployment/troubleshoot-overview",
"redirect_document_id": false
}
]
}
Loading

0 comments on commit 1a611ef

Please sign in to comment.