Skip to content

How to provide GitHub and Azure DevOps Token? #1509

Answered by rhyskoedijk
mikeKuester asked this question in Q&A
Discussion options

You must be logged in to vote

@mikeKuester have a look at the task parameters documentation if you haven't already, it covers the token parameters you're looking for.

Example using service connections:

        - task: dependabot@2
          inputs:
            azureDevOpsServiceConnection: 'Dependabot DevOps User'
            gitHubConnection: 'Dependabot GitHub User'

Example using access tokens:

        - task: dependabot@2
          inputs:
            azureDevOpsAccessToken: $(MY_SECRET_DEVOPS_TOKEN)
            gitHubAccessToken: $(MY_SECRET_GITHUB_TOKEN)

Regarding the error in your logs, it looks like a dependabot.yml misconfiguration to me; Dependabot could not find any .NET solution or project files in the dire…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mikeKuester
Comment options

@mikeKuester
Comment options

@rhyskoedijk
Comment options

Answer selected by mikeKuester
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants