Ignore is not used from config file
See original GitHub issueWhen I try to specify ignores in my dependabot.yml file they’re not applied to the command.
.azuredevops/dependabot.yml
:
version: 2
updates:
- package-ecosystem: nuget
directory: /
target-branch: master
ignore:
- dependencyName: "Microsoft.Extensions.*"
versions: ["5.*.*"]
run-dependabot.yml
:
trigger: none
schedules:
- cron: "0 2 * * 0"
always: true
branches:
include:
- master
batch: true
displayName: Weekly
pool:
vmImage: 'ubuntu-latest'
#variables:
# DEPENDABOT_IGNORE: '[{"name": "Microsoft.Extensions.*", "versions": ["5.*.*"]}]'
steps:
- task: dependabot@1
displayName: Run Dependabot
inputs:
useConfigFile: true
packageManager: 'nuget'
directory: /
Command run:
/usr/bin/docker run --rm -i -e AZURE_HOSTNAME=dev.azure.com -e AZURE_ACCESS_TOKEN=*** -e AZURE_ORGANIZATION=*** -e AZURE_PROJECT=*** -e AZURE_REPOSITORY=*** -e DEPENDABOT_PACKAGE_MANAGER=nuget -e DEPENDABOT_DIRECTORY=/ -e DEPENDABOT_TARGET_BRANCH=master -e DEPENDABOT_OPEN_PULL_REQUESTS_LIMIT=5 tingle/dependabot-azure-devops:0.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Prettier vscode extension ignoring config files
The extension seems to ignore the config file completely. A collegue has the extension and it works fine with config files. And in...
Read more >How to ignore config files without adding them to .gitignore?
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES ...
Read more >Ignore Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Config Ignore
Ever experienced that your site's configuration was overridden, by the configuration on the file system, when running a drush cim ? Not anymore!...
Read more >Sometimes the ignore.conf does not work
If you checkin the ignore.conf or not is not relevant for the behavior. "ignore.conf" is used to configure ignore rules for not commited...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems that NuGet is using
*
as wildcard instead ofx
. For reference, the following config file works:Tried using a single line and still got this: