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

dependabot.yml contained invalid details on only one pr with the same .yml as the others and no changes #9806

Open
1 task done
Liquidmasl opened this issue May 22, 2024 · 1 comment
Labels
L: docker Docker containers L: git:submodules Git submodules L: github:actions GitHub Actions L: python T: bug 🐞 Something isn't working

Comments

@Liquidmasl
Copy link

Liquidmasl commented May 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

docker, pip, actions

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

version: 2

updates:

  # Maintain dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    # Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
    directory: "/"
    schedule:
      interval: "weekly"
    ignore:
      - dependency-name: "*"
        update-types: [ "version-update:semver-patch" ]


  - package-ecosystem: "pip"
    directory:
      - "processing/intern_depend/cirq_logger"
      - "processing/intern_depend/config_loader"
      - "processing/intern_depend/flasker"
      - "processing/intern_depend/pointqloud"
      - "processing/intern_depend"
      - "processing/containers/exporter"
      - "processing/containers/preprocessor"
      - "processing/containers/segmentor"
      - "processing/containers/separator"
      - "processing/containers/vectoriser"
    schedule:
      interval: "weekly"
    ignore:
      - dependency-name: "*"
        update-types: [ "version-update:semver-patch" ]
    groups:
      patches:
        applies-to: version-updates
        patterns:
          - "*"
        update-types:
          - "patch"

      minor:
        applies-to: version-updates
        patterns:
          - "*"
        update-types:
          - "minor"



  - package-ecosystem: "docker"
    directory:
      - "processing/intern_depend"
      - "processing/containers/exporter"
      - "processing/containers/preprocessor"
      - "processing/containers/segmentor"
      - "processing/containers/separator"
      - "processing/containers/vectoriser"
    schedule:
      interval: "weekly"
    ignore:
      - dependency-name: "*"
        update-types: [ "version-update:semver-patch" ]


Updated dependency

No response

What you expected to see, versus what you actually saw

I would like the PR to clear, but i get:

Your .github/dependabot.yml contained invalid details
Dependabot encountered the following error when parsing your .github/dependabot.yml:

The property '#/updates/1/directory' of type array did not match the following type: string
The property '#/updates/2/directory' of type array did not match the following type: string
Please update the config file to conform with Dependabot's specification.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

because its a private company repo and this is company time i can neither provide a minimal manifest (time) not the full diff of the PR.

But i can show this

image

There was no change on the dependabot.yml and it worked fine before, also there are mutliple other PRs open with the same exact yml and they also work fine.

rerunning the github action leads to the same result

Smallest manifest that reproduces the issue

No response

@Liquidmasl Liquidmasl added the T: bug 🐞 Something isn't working label May 22, 2024
@github-actions github-actions bot added L: docker Docker containers L: git:submodules Git submodules L: github:actions GitHub Actions L: python labels May 22, 2024
@abhisheksr01
Copy link

One reason could be multiple directories in a single ecosystem is not supported at the moment unless you have opted for beta .
As mentioned in the Issue and Bug here:
Issue: #2178
bug: #9664

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: docker Docker containers L: git:submodules Git submodules L: github:actions GitHub Actions L: python T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants