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

Filter relevant registries after validating the configuration #781

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

mburumaxwell
Copy link
Contributor

This filters the registries passed to DEPENDABOT_EXTRA_CREDENTIALS to those configured per update. Consequently, validation is done to ensure there are no configured registries that are not used in updates and that all referenced registries are configured. This change aligns with the GitHub-hosted version.

Changes to configuration file becomes:

  version: 2
  updates:
  - package-ecosystem: "nuget" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
      interval: "daily"
      time: "02:00"
    open-pull-requests-limit: 10
+   registries:
+   - tingle
  registries:
    tingle:
      type: nuget-feed
      url: 'https://pkgs.dev.azure.com/tingle/_packaging/tingle/nuget/v3/index.json'
      token: ':${{DEFAULT_TOKEN}}'

@mburumaxwell mburumaxwell changed the title Filter relevant registries Filter relevant registries after validating the configuration Sep 11, 2023
@mburumaxwell mburumaxwell merged commit 879e9e3 into main Sep 11, 2023
8 checks passed
@mburumaxwell mburumaxwell deleted the feature/registries-validation branch September 11, 2023 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant