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

add dependabot config script #403

Merged
merged 3 commits into from
Jan 25, 2021
Merged

Conversation

davidspek
Copy link
Contributor

@davidspek davidspek commented Jan 20, 2021

Inspired by kubeflow/pipelines#4682 I created a script that will create a config file for depandabot so that it knows what directories to scan. It will scan the repository for files named *ockerfile*. It is setup for dockerfiles, npm, python and gomod at the moment. As I am not sure if the go.mod and go.sum in ./vendor are relevant, I left them on in the script, but the folder can easily be added to the ignore list at the top of the script. It is trivial to further customize what folders are selected if further customization is needed. It also parses the closest OWNERS file for a given directory and assigns the approvers and adds the reviewers to the PRs it creates.

This is a sibling PR to kubeflow/pipelines#5015, kubeflow/kubeflow#5542 and kserve/kserve#1309.

There are about 9 PRs that will be created with this configuration.

For reference, the PRs that will be created can be found here: https://github.com/DavidSpek/arena/pulls

@cheyang
Copy link
Collaborator

cheyang commented Jan 25, 2021

/ok-to-test

@cheyang
Copy link
Collaborator

cheyang commented Jan 25, 2021

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang, DavidSpek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants