Skip to content

Commit e018115

Browse files
authored
Merge branch 'main' into NikosMoutzourakis-terminal-IBM-PComm-1
2 parents 3b1726c + 72e7713 commit e018115

File tree

1,655 files changed

+17300
-14006
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,655 files changed

+17300
-14006
lines changed

.github/workflows/auto_publish.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Auto push to live
2+
3+
on:
4+
schedule:
5+
# Run at 10:00 a.m., 6:00 p.m., and 2:00 a.m. UTC
6+
- cron: "0 10 * * *"
7+
- cron: "0 18 * * *"
8+
- cron: "0 2 * * *"
9+
10+
workflow_dispatch:
11+
12+
jobs:
13+
auto-push-to-live:
14+
runs-on: ubuntu-latest
15+
if: github.repository == 'MicrosoftDocs/SupportArticles-docs-pr'
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
20+
steps:
21+
# Checkout the automation branch
22+
- name: Checkout automation branch
23+
uses: actions/checkout@v3
24+
with:
25+
ref: automation # Explicitly check out the automation branch
26+
27+
# Set up Python
28+
- name: Set up Python
29+
uses: actions/setup-python@v4
30+
with:
31+
python-version: '3.12'
32+
33+
# Install dependencies (if any)
34+
- name: Install dependencies
35+
run: |
36+
python -m pip install PyGithub
37+
38+
# Run the Python script
39+
- name: Run script
40+
env:
41+
GITHUB_ACCESS_TOKEN: ${{ secrets.DELAND_PAT }}
42+
run: |
43+
ls scripts
44+
python scripts/auto_push2live.py
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Manage stale branches
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
workflow_dispatch:
8+
9+
10+
jobs:
11+
12+
stale-branch:
13+
if: github.repository == 'MicrosoftDocs/SupportArticles-docs-pr'
14+
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod
15+
with:
16+
PayloadJson: ${{ toJSON(github) }}
17+
RepoBranchSkipList: '[
18+
"automation"
19+
]'
20+
ReportOnly: false
21+
secrets:
22+
AccessToken: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Validate branch names
2+
3+
on:
4+
create
5+
6+
jobs:
7+
validate-branch-name:
8+
if: github.repository == 'MicrosoftDocs/SupportArticles-docs-pr' && startsWith(github.ref, 'refs/heads/')
9+
runs-on: windows-latest
10+
strategy:
11+
fail-fast: true # Prevent retries on failure
12+
steps:
13+
- name: Set git to use long paths
14+
run: git config --system core.longpaths true
15+
- name: Try checkout
16+
uses: actions/checkout@v3

.openpublishing.publish.config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@
2727
],
2828
"sync_notification_subscribers": [
2929
30-
31-
30+
31+
32+
33+
34+
3235
],
3336
"branches_to_filter": [],
3437
"git_repository_url_open_to_public_contributors": "https://github.com/MicrosoftDocs/SupportArticles-docs",

.openpublishing.redirection.developer.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6258,6 +6258,66 @@
62586258
{
62596259
"source_path": "support/mem/configmgr/update-management/error-0x800f0831-installing-update.md",
62606260
"redirect_url": "/troubleshoot/windows-server/installing-updates-features-roles/error-0x800f0831-installing-update"
6261+
},
6262+
{
6263+
"source_path": "support/sql/database-engine/database-mirroring/assertion-execute-bulk-insert-bcp.md",
6264+
"redirect_url": "/previous-versions/troubleshoot/sql/database-mirroring/assertion-execute-bulk-insert-bcp"
6265+
},
6266+
{
6267+
"source_path": "support/sql/database-engine/database-mirroring/assertion-partner-servers-using-mirroring.md",
6268+
"redirect_url": "/previous-versions/troubleshoot/sql/database-mirroring/assertion-partner-servers-using-mirroring"
6269+
},
6270+
{
6271+
"source_path": "support/sql/database-engine/backup-restore/asr-agent-vss-backup-fails.md",
6272+
"redirect_url": "/previous-versions/troubleshoot/sql/backup-restore/asr-agent-vss-backup-fails"
6273+
},
6274+
{
6275+
"source_path": "support/sql/database-engine/database-file-operations/transaction-log-file-not-grow.md",
6276+
"redirect_url": "/previous-versions/troubleshoot/sql/database-file-operations/transaction-log-file-not-grow"
6277+
},
6278+
{
6279+
"source_path": "support/sql/database-engine/install/windows/error-change-path-shared-component-directory.md",
6280+
"redirect_url": "/previous-versions/troubleshoot/sql/install/error-change-path-shared-component-directory"
6281+
},
6282+
{
6283+
"source_path": "support/sql/database-engine/install/windows/error-upgrade-cluster-node.md",
6284+
"redirect_url": "/previous-versions/troubleshoot/sql/install/error-upgrade-cluster-node"
6285+
},
6286+
{
6287+
"source_path": "support/sql/database-engine/replication/error-replication-monitor.md",
6288+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/error-replication-monitor"
6289+
},
6290+
{
6291+
"source_path": "support/sql/database-engine/replication/rowguidcol-not-supported-merge-replication.md",
6292+
"redirect_url": "/sql/relational-databases/replication/merge/merge-replication"
6293+
},
6294+
{
6295+
"source_path": "support/sql/database-engine/replication/duplicate-keys-sys-syscommittab-table.md",
6296+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/duplicate-keys-sys-syscommittab-table"
6297+
},
6298+
{
6299+
"source_path": "support/sql/database-engine/replication/problem-use-custom-business-logic-handler.md",
6300+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/problem-use-custom-business-logic-handler"
6301+
},
6302+
{
6303+
"source_path": "support/sql/database-engine/replication/merge-replication-cannot-support-centralized-subscriber-topologies.md",
6304+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/merge-replication-cannot-support-centralized-subscriber-topologies"
6305+
},
6306+
{
6307+
"source_path": "support/sql/database-engine/replication/error-use-change-data-capture-service.md",
6308+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/error-use-change-data-capture-service"
6309+
},
6310+
{
6311+
"source_path": "support/sql/database-engine/replication/script-failed-error-merge-publication-snapshot.md",
6312+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/script-failed-error-merge-publication-snapshot"
6313+
},
6314+
{
6315+
"source_path": "support/sql/database-engine/replication/snapshot-logreader-agents-fail-destination-table-empty.md",
6316+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/snapshot-logreader-agents-fail-destination-table-empty"
6317+
},
6318+
{
6319+
"source_path": "support/sql/database-engine/replication/sql-merge-replication-synchronization-fails.md",
6320+
"redirect_url": "/previous-versions/troubleshoot/sql/replication/sql-merge-replication-synchronization-fails"
62616321
}
62626322
]
62636323
}

0 commit comments

Comments
 (0)