Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds custom dependabot file location support #575

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
reames and minor changes
Dale Mckeown authored and Dale Mckeown committed Mar 23, 2023

Verified

This commit was signed with the committer’s verified signature.
scala-steward Scala Steward
commit 03c59621b60b575408d0011ea00bb3e29066de32
2 changes: 1 addition & 1 deletion extension/task/utils/parseConfigFile.ts
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ async function parseConfigFile(variables: ISharedVariables): Promise<IDependabot
"/.github/dependabot.yaml",
"/.github/dependabot.yml",
"/.azuredevops/dependabot.yaml",
"/.azuredevops/dependabot.yml",
"/.azuredevops/dependabot.yml"
];

if (variables.configFileLocation !== "") {
6 changes: 3 additions & 3 deletions server/main.bicep
Original file line number Diff line number Diff line change
@@ -16,11 +16,11 @@ param synchronizeOnStartup bool = false
@description('Whether to create or update subscriptions on startup.')
param createOrUpdateWebhooksOnStartup bool = false

@description('Access token for authenticating requests to GitHub.')
param githubToken string = ''
@description('Defines a custom file path for the Dependabot configuration file.')
param configFileLocation string = ''

@description('Access token for authenticating requests to GitHub.')
param configFileLocation string = ''
param githubToken string = ''

@allowed([
'InMemory'