From 661479390a4f4e3bfdcddcbf15b9377d954cef2b Mon Sep 17 00:00:00 2001 From: Den <53200638+localden@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:57:59 -0700 Subject: [PATCH] Policy update --- .github/policies/auto-label-pr.yml | 10 +++++----- .github/policies/scheduled-sync.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/policies/auto-label-pr.yml b/.github/policies/auto-label-pr.yml index 386bd8f1..d6a4b444 100644 --- a/.github/policies/auto-label-pr.yml +++ b/.github/policies/auto-label-pr.yml @@ -22,10 +22,10 @@ configuration: then: - addLabel: label: ':octocat: auto-merge' + - approvePullRequest: + comment: "Automatic approval for sync PR. Change can be merged once all checks pass." - enableAutoMerge: mergeMethod: Squash - - approvePullRequest: - comment: "Approved; this PR will merge when all status checks pass." - description: Label publish PRs from the microsoft-github-policy-service bot triggerOnOwnActions: true if: @@ -40,7 +40,7 @@ configuration: then: - addLabel: label: ':octocat: auto-merge' - - enableAutoMerge: - mergeMethod: Squash - approvePullRequest: - comment: "Approved; this PR will merge when all status checks pass." \ No newline at end of file + comment: "Automatic approval for sync PR. Change can be merged once all checks pass." + - enableAutoMerge: + mergeMethod: Squash \ No newline at end of file diff --git a/.github/policies/scheduled-sync.yml b/.github/policies/scheduled-sync.yml index f166a072..296a260c 100644 --- a/.github/policies/scheduled-sync.yml +++ b/.github/policies/scheduled-sync.yml @@ -20,7 +20,7 @@ configuration: - description: Push to main branch (scheduled 1:55PM PT publish - used as test) frequencies: - daily: - time: 20:55 + time: 20:59 filters: [] actions: - createPullRequest: