You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/main.md
-28Lines changed: 0 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,6 @@ This application is built using .NET Core. It supports multiple data stores, inc
27
27
|`GitHub:RepoOnboarding`| String | Repository for onboarding. |
28
28
|`GitHub:RepoInventory`| String | Repository for inventory. |
29
29
|`GitHub:RepoPolicy`| String | Repository for policy. |
30
-
|`GitHub:IssueAutoApprove`| String | Automatically approve issues, "true" or "false". |
31
-
|`GitHub:UseInventoryWithPullRequest`| String | Use inventory with pull requests, "true" or "false". |
32
-
|`GitHub:RepoRulesetsCustomPropertyName`| String | Custom property name for repository rulesets. |
33
30
|`Azure:KeyVaultName`| String | Name of the Azure Key Vault. |
34
31
|`Azure:KeyName`| String | Name of the key in Azure Key Vault. |
35
32
|`Azure:AzureMonitor:EnableTelemetry`| String | Whether to enable telemetry or not. |
@@ -41,28 +38,6 @@ This application is built using .NET Core. It supports multiple data stores, inc
41
38
|`DataStore:CosmosDb:GitHubWebhooksContainer`| String | Container for GitHub webhooks in Cosmos DB. |
42
39
|`DataStore:SqlServer:ConnectionString`| String | Connection string for SQL Server. |
43
40
44
-
### Feature flags
45
-
46
-
Follows the .NET FeatureManagement [schema](https://learn.microsoft.com/en-us/azure/azure-app-configuration/feature-management-dotnet-reference#net-feature-management-schema)
47
-
48
-
```json
49
-
"feature_management": {
50
-
"feature_flags": [
51
-
{
52
-
"id": "IssueAutoApprove",
53
-
"display_name": "Auto Approve Issues",
54
-
"description": "Whether to auto approve issues or let someone approve them",
55
-
"enabled": true
56
-
},
57
-
{
58
-
"id": "UseInventoryWithPullRequest",
59
-
"display_name": "Use Pull Request for Inventory Metadata",
60
-
"description": "Determines whether to use a pull request to populate the inventory metadata or not",
61
-
"enabled": true
62
-
}
63
-
]
64
-
}
65
-
```
66
41
67
42
### Example
68
43
@@ -85,9 +60,6 @@ Follows the .NET FeatureManagement [schema](https://learn.microsoft.com/en-us/az
thrownewInvalidOperationException($"Pull request #{pullRequestNumber} cannot be merged. It may have conflicts, required status checks may be failing, or branch protection rules may be preventing the merge.");
241
+
}
242
+
catch(Exceptionex)
243
+
{
244
+
thrownewInvalidOperationException($"Failed to merge pull request #{pullRequestNumber} in repository '{owner}/{repo}': {ex.Message}",ex);
0 commit comments