diff --git a/docs/server.md b/docs/server.md
index 84435283..616acc77 100644
--- a/docs/server.md
+++ b/docs/server.md
@@ -58,7 +58,6 @@ The deployment exposes the following parameters that can be tuned to suit the se
|synchronizeOnStartup|Whether to synchronize repositories on startup. This option is useful for initial deployments since the server synchronizes every 6 hours. Leaving it on has no harm, it actually helps you find out if the token works based on the logs.|No|false|
|createOrUpdateWebhooksOnStartup|Whether to create or update Azure DevOps subscriptions on startup. This is required if you want configuration files to be picked up automatically and other event driven functionality.
When this is set to `true`, ensure the value provided for `projectToken` has permissions for service hooks and the owner is a Project Administrator. Leaving this on has no harm because the server will only create new subscription if there are no existing ones based on the URL.|No|false|
|githubToken|Access token for authenticating requests to GitHub. Required for vulnerability checks and to avoid rate limiting on free requests|No|<empty>|
-|failOnException|Whether update jobs should fail when an exception occurs.|No|false|
|autoComplete|Whether to set auto complete on created pull requests.|No|true|
|autoCompleteIgnoreConfigs|Identifiers of configs to be ignored in auto complete. E.g 3,4,10|No|<empty>|
|autoCompleteMergeStrategy|Merge strategy to use when setting auto complete on created pull requests. Allowed values: `NoFastForward`, `Rebase`, `RebaseMerge`, or `Squash`|No|`Squash`|
diff --git a/server/Tingle.Dependabot/Workflow/UpdateRunner.cs b/server/Tingle.Dependabot/Workflow/UpdateRunner.cs
index adf2c0c9..14db5727 100644
--- a/server/Tingle.Dependabot/Workflow/UpdateRunner.cs
+++ b/server/Tingle.Dependabot/Workflow/UpdateRunner.cs
@@ -250,6 +250,7 @@ internal IDictionary CreateVariables(Repository repository, Repo
["DEPENDABOT_OPEN_PULL_REQUESTS_LIMIT"] = update.OpenPullRequestsLimit!.Value.ToString(),
["DEPENDABOT_EXTRA_CREDENTIALS"] = credentials!,
+ ["DEPENDABOT_FAIL_ON_EXCEPTION"] = "false",
};
// Add optional values
@@ -268,8 +269,7 @@ internal IDictionary CreateVariables(Repository repository, Repo
.AddIfNotDefault("DEPENDABOT_ALLOW_CONDITIONS", ToJson(MakeAllowEntries(update.Allow)))
.AddIfNotDefault("DEPENDABOT_LABELS", ToJson(update.Labels))
.AddIfNotDefault("DEPENDABOT_BRANCH_NAME_SEPARATOR", update.PullRequestBranchName?.Separator)
- .AddIfNotDefault("DEPENDABOT_MILESTONE", update.Milestone?.ToString())
- .AddIfNotDefault("DEPENDABOT_FAIL_ON_EXCEPTION", options.FailOnException.ToString().ToLowerInvariant());
+ .AddIfNotDefault("DEPENDABOT_MILESTONE", update.Milestone?.ToString());
// Add values for Azure DevOps
var url = options.ProjectUrl!.Value;
diff --git a/server/Tingle.Dependabot/Workflow/WorkflowOptions.cs b/server/Tingle.Dependabot/Workflow/WorkflowOptions.cs
index ee9f2996..18913ad3 100644
--- a/server/Tingle.Dependabot/Workflow/WorkflowOptions.cs
+++ b/server/Tingle.Dependabot/Workflow/WorkflowOptions.cs
@@ -68,9 +68,6 @@ public class WorkflowOptions
/// Whether updates should be created in the same order.
public bool? DeterministicUpdates { get; set; }
- /// Whether update jobs should fail when an exception occurs.
- public bool FailOnException { get; set; }
-
/// Whether to set automatic completion of pull requests.
public bool? AutoComplete { get; set; }
diff --git a/server/main.bicep b/server/main.bicep
index 8ca49783..d9e65613 100644
--- a/server/main.bicep
+++ b/server/main.bicep
@@ -22,9 +22,6 @@ param debugAllJobs bool = false
@description('Access token for authenticating requests to GitHub.')
param githubToken string = ''
-@description('Whether update jobs should fail when an exception occurs.')
-param failOnException bool = false
-
@description('Whether to set auto complete on created pull requests.')
param autoComplete bool = true
@@ -304,7 +301,6 @@ resource app 'Microsoft.App/containerApps@2023-05-01' = {
value: logAnalyticsWorkspace.properties.customerId
}
{ name: 'Workflow__UpdaterContainerImageTemplate', value: 'ghcr.io/tinglesoftware/dependabot-updater-{{ecosystem}}:${imageTag}' }
- { name: 'Workflow__FailOnException', value: failOnException ? 'true' : 'false' }
{ name: 'Workflow__AutoComplete', value: autoComplete ? 'true' : 'false' }
{ name: 'Workflow__AutoCompleteIgnoreConfigs', value: join(autoCompleteIgnoreConfigs, ';') }
{ name: 'Workflow__AutoCompleteMergeStrategy', value: autoCompleteMergeStrategy }
diff --git a/server/main.json b/server/main.json
index d3bb1077..ba4dc90b 100644
--- a/server/main.json
+++ b/server/main.json
@@ -56,13 +56,6 @@
"description": "Access token for authenticating requests to GitHub."
}
},
- "failOnException": {
- "type": "bool",
- "defaultValue": false,
- "metadata": {
- "description": "Whether update jobs should fail when an exception occurs."
- }
- },
"autoComplete": {
"type": "bool",
"defaultValue": true,
@@ -473,10 +466,6 @@
"name": "Workflow__UpdaterContainerImageTemplate",
"value": "[format('ghcr.io/tinglesoftware/dependabot-updater-{{{{ecosystem}}}}:{0}', parameters('imageTag'))]"
},
- {
- "name": "Workflow__FailOnException",
- "value": "[if(parameters('failOnException'), 'true', 'false')]"
- },
{
"name": "Workflow__AutoComplete",
"value": "[if(parameters('autoComplete'), 'true', 'false')]"