Skip to content

Commit

Permalink
Support .azuredevops folder alongside .github
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Dec 11, 2023
1 parent 119209d commit 938110e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions extension/task/utils/parseConfigFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ import axios from "axios";
*/
async function parseConfigFile(variables: ISharedVariables): Promise<IDependabotConfig> {
const possibleFilePaths = [
".azuredevops/dependabot.yml",
".azuredevops/dependabot.yaml",

"/.github/dependabot.yaml",
"/.github/dependabot.yml",
];
Expand Down
5 changes: 2 additions & 3 deletions server/Tingle.Dependabot/Workflow/AzureDevOpsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ public class AzureDevOpsProvider
{
// Possible/allowed paths for the configuration files in a repository.
private static readonly IReadOnlyList<string> ConfigurationFilePaths = new[] {
// TODO: restore checks in .azuredevops folder once either the code can check that folder or we are passing ignore conditions via update_jobs API
//".azuredevops/dependabot.yml",
//".azuredevops/dependabot.yaml",
".azuredevops/dependabot.yml",
".azuredevops/dependabot.yaml",

".github/dependabot.yml",
".github/dependabot.yaml",
Expand Down

0 comments on commit 938110e

Please sign in to comment.