Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Dependabot Fail Task
Dependabot Fail Task

Dependabot Fail Task

robyn-zip

|
8 installs
| (0) | Free
Fail a pipeline based on dependabot alerts open on a repo
Get it free

dependabot-fail-task

Dependabot Fail Task for Azure Pipelines will fail a pipeline if any Dependabot alerts are detected on the repository.

- task: DependabotFailTask@1
  displayName: Check Dependabot 🤖
  inputs:
    auditMode: false
    failOnError: true
    failSeverity: 'low'
    githubServiceConnection: 'DependabotConnection-OAuth'

Options

Input Name Type Default Description
auditMode boolean false Causes the task to return a warning when alerts are detected instead of failing the pipeline. Useful for testing the task before enabling it.
enterpriseServerUrl string null If you use GitHub Enterprise Server then you can specify your API base URL here. If you use Enterprise cloud, ignore this setting.
failOnError boolean true Causes the task to fail on any error, for example if GitHub API fails or any similar issue.
failSeverity string critical Fails pipeline when alerts are detect at or above this severity level.
gitHubServiceConnection string null Used to connect to GitHub API for Dependabot data. Must have correct permissions! (See *)
githubToken string null GitHub token used for connecting to GitHub API, please use a secure variable if you're using this option! Must have correct permissions (see *)

If you do not wish to specify the GitHub Token via either of the two above methods then you can also specify the environment variable: GITHUB_TOKEN which will be picked up if either of the first two options are not found.

    • Please see docs/generate-token.md for more information on generating a token for use.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft