Skip to content

Commit

Permalink
Merge pull request #542 from MicrosoftDocs/localden/policy-fixes
Browse files Browse the repository at this point in the history
Update policies
  • Loading branch information
localden authored Nov 1, 2024
2 parents 8e942a9 + 5c3134f commit f17ca4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/policies/auto-label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ configuration:
then:
- addLabel:
label: ':octocat: auto-merge'
- 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:
Expand All @@ -35,4 +39,8 @@ configuration:
isRegex: False
then:
- addLabel:
label: ':octocat: auto-merge'
label: ':octocat: auto-merge'
- enableAutoMerge:
mergeMethod: Squash
- approvePullRequest:
comment: "Approved; this PR will merge when all status checks pass."
4 changes: 2 additions & 2 deletions .github/policies/scheduled-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ configuration:
base: main
title: Merge smoke-test into main
body: Please don't squash-merge this PR.
- description: Push to main branch (scheduled 1:30PM PT publish - used as test)
- description: Push to main branch (scheduled 1:35PM PT publish - used as test)
frequencies:
- daily:
time: 20:30
time: 20:35
filters: []
actions:
- createPullRequest:
Expand Down

0 comments on commit f17ca4e

Please sign in to comment.