From 7fc54ed7ff287c741c1cbd26107d2be40faa1500 Mon Sep 17 00:00:00 2001 From: David Strome <21028455+dstrome@users.noreply.github.com> Date: Fri, 30 May 2025 15:08:37 -0700 Subject: [PATCH] Update AutoPublish workflow to enable auto-merge, update schedule --- .github/workflows/AutoPublish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/AutoPublish.yml b/.github/workflows/AutoPublish.yml index a7e46e4f16..c067d8f47b 100644 --- a/.github/workflows/AutoPublish.yml +++ b/.github/workflows/AutoPublish.yml @@ -3,10 +3,11 @@ name: (Scheduled) Publish to live permissions: contents: write pull-requests: write + checks: read on: schedule: - - cron: "25 5,11,17,22 * * *" # Times are UTC based on Daylight Saving Time. Need to be adjusted for Standard Time. Scheduling at :25 to account for queuing lag. + - cron: "25 2,5,8,11,14,17,20,22 * * *" # Times are UTC based on Daylight Saving Time. Need to be adjusted for Standard Time. Scheduling at :25 to account for queuing lag. workflow_dispatch: @@ -14,10 +15,11 @@ jobs: auto-publish: if: github.repository_owner == 'MicrosoftDocs' && contains(github.event.repository.topics, 'build') - uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoPublish.yml@workflows-prod + uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoPublishV2.yml@workflows-prod with: PayloadJson: ${{ toJSON(github) }} EnableAutoPublish: true + EnableAutoMerge: true secrets: AccessToken: ${{ secrets.GITHUB_TOKEN }}