mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-08 18:47:22 +00:00
Merge branch 'main' into danbrown-privacy-freshness
This commit is contained in:
commit
f3e6cdac72
6
.github/workflows/AutoPublish.yml
vendored
6
.github/workflows/AutoPublish.yml
vendored
@ -3,10 +3,11 @@ name: (Scheduled) Publish to live
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
checks: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
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:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -14,10 +15,11 @@ jobs:
|
|||||||
|
|
||||||
auto-publish:
|
auto-publish:
|
||||||
if: github.repository_owner == 'MicrosoftDocs' && contains(github.event.repository.topics, 'build')
|
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:
|
with:
|
||||||
PayloadJson: ${{ toJSON(github) }}
|
PayloadJson: ${{ toJSON(github) }}
|
||||||
EnableAutoPublish: true
|
EnableAutoPublish: true
|
||||||
|
EnableAutoMerge: true
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
AccessToken: ${{ secrets.GITHUB_TOKEN }}
|
AccessToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user