Closed vishnuprakash9845 closed 4 days ago
@vishnuprakash9845, this scenario is not currently supported. Only sensitive properties in the registry
section can be replaced using variable placeholders currently.
I have submitted https://github.com/tinglesoftware/dependabot-azure-devops/pull/1449 which will allow milestone
and a few others to be replaced using variable placeholders, but it is up to the project maintainer to decide if they ok with this change as I believe their intention was to only allow secrets to be replaced.
While this is nice to have, I would very much prefer to have configuration files be very close to the official one. I feel this will open the door for other problems. I do not see why the assignees
, reviews
, milestone
, and target-branch
should not be fixed in the configuration file.
Describe the bug I have a question regarding the parameterization of fields in the dependabot.yml file. Specifically, can the milestone field be parameterized in the same way as the token field?
I am managing NuGet packages, particularly the SumNumbers package, in Azure Artifacts. I have configured the following dependabot.yml file for version updates. The pipeline triggers using Dependabot with the configuration below and successfully creates a Pull Request.
My goal is to attach a User Story work item to the PR. When I hardcode the work item ID, it works as expected. However, when I attempt to parameterize the work item ID, it does not attach the work item to the PR.
dependabot.yml
azure-pipelines.yml Here I am passing the workitemid after the token.
Categorization
Expected behavior Parameterizing the Milestone Field in dependabot.yml should be possible.
Logs and screenshots This is the image of the PR where the workitem field is empty
Extension (please complete the following information):
Additional context Could you please help me identify what I might be missing or doing incorrectly?