-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from MicrosoftDocs/localden/policy-fixes
Update policies
- Loading branch information
Showing
8 changed files
with
133 additions
and
170 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Any repo changes beyond docs require PM owner approval. | ||
* @localden @jmprieur | ||
|
||
# Conceptual and API content needs the review of the engineering team. | ||
msal-java-articles/* @MicrosoftDocs/identity-sdk-cca-engineering-team | ||
|
||
# API documentation does not have code owners, but that is OK. | ||
# Anyone can create a PR to the `main` branch and we will review | ||
# the changes on the one-off basis. | ||
java/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
id: | ||
name: GitOps.PullRequestIssueManagement | ||
description: GitOps.PullRequestIssueManagement primitive | ||
owner: | ||
resource: repository | ||
disabled: false | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
eventResponderTasks: | ||
- description: Sync API documentation to staging environment. | ||
triggerOnOwnActions: true | ||
if: | ||
- payloadType: Pull_Request | ||
- isAction: | ||
action: Opened | ||
- isActivitySender: | ||
user: microsoft-github-policy-service[bot] | ||
- titleContains: | ||
pattern: Merge smoke-test into main | ||
isRegex: False | ||
then: | ||
- addLabel: | ||
label: ':octocat: auto-merge' | ||
- enableAutoMerge: | ||
mergeMethod: Squash | ||
- approvePullRequest: | ||
comment: ':shipit:' | ||
- description: Sync staging environment to production. | ||
triggerOnOwnActions: true | ||
if: | ||
- payloadType: Pull_Request | ||
- isAction: | ||
action: Opened | ||
- isActivitySender: | ||
user: microsoft-github-policy-service[bot] | ||
- titleContains: | ||
pattern: Merge main into live | ||
isRegex: False | ||
then: | ||
- addLabel: | ||
label: ':octocat: auto-merge' | ||
- enableAutoMerge: | ||
mergeMethod: Merge | ||
- approvePullRequest: | ||
comment: ':shipit:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: GitOps.PullRequestIssueManagement - Scheduled PRs | ||
description: Creates pull requests on a schedule | ||
resource: repository | ||
|
||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: | ||
- description: Push to main branch (scheduled 10AM PT publish) | ||
frequencies: | ||
- daily: | ||
time: 17:00 | ||
filters: [] | ||
actions: | ||
- createPullRequest: | ||
head: smoke-test | ||
base: main | ||
title: Merge smoke-test into main | ||
body: Automated merge of the smoke-test branch into main, syncing API documentation content to the staging environment. | ||
- description: Push to main branch (scheduled 5PM PT publish) | ||
frequencies: | ||
- daily: | ||
time: 1:00 | ||
filters: [] | ||
actions: | ||
- createPullRequest: | ||
head: smoke-test | ||
base: main | ||
title: Merge smoke-test into main | ||
body: Automated merge of the smoke-test branch into main, syncing API documentation content to the staging environment. | ||
- description: Push to main branch (scheduled 1AM PT publish) | ||
frequencies: | ||
- daily: | ||
time: 9:00 | ||
filters: [] | ||
actions: | ||
- createPullRequest: | ||
head: smoke-test | ||
base: main | ||
title: Merge smoke-test into main | ||
body: Automated merge of the smoke-test branch into main, syncing API documentation content to the staging environment. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters