Skip to content

update workflows #12610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/AutoLabelAssign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ jobs:
ExcludedBranchList: '["branch1", "branch2"]'
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}






1 change: 0 additions & 1 deletion .github/workflows/AutoLabelMsftContributor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Auto label Microsoft contributors

permissions:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/BuildValidation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PR has no warnings or errors

permissions:
pull-requests: write
statuses: write

on:
issue_comment:
types: [created]

jobs:

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



3 changes: 3 additions & 0 deletions .github/workflows/LiveMergeCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ jobs:
PayloadJson: ${{ toJSON(github) }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}



3 changes: 3 additions & 0 deletions .github/workflows/PrFileCount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ jobs:
PayloadJson: ${{ toJSON(github) }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}



3 changes: 3 additions & 0 deletions .github/workflows/ProtectedFiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ jobs:
PayloadJson: ${{ toJSON(github) }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}



19 changes: 19 additions & 0 deletions .github/workflows/Stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: (Scheduled) Mark stale pull requests

permissions:
issues: write
pull-requests: write

on:
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:

jobs:
stale:
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-Stale.yml@workflows-prod
with:
RunDebug: false
RepoVisibility: ${{ github.repository_visibility }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/StaleBranch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: (Scheduled) Stale branch removal

permissions:
contents: write

on:
schedule:
- cron: "0 */12 * * *"

workflow_dispatch:


jobs:

stale-branch:
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod
with:
PayloadJson: ${{ toJSON(github) }}
RepoBranchSkipList: '[
"ExampleBranch1",
"ExampleBranch2"
]'
ReportOnly: true
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/TierManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tier management

permissions:
pull-requests: write
contents: read

on:
issue_comment:
types: [created, edited]

jobs:

tier-mgmt:
if: 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 }}
Loading