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

Adding renovate.json with desired settings? #2

Open
oscard0m opened this issue Mar 3, 2021 · 1 comment
Open

Adding renovate.json with desired settings? #2

oscard0m opened this issue Mar 3, 2021 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@oscard0m
Copy link
Member

oscard0m commented Mar 3, 2021

I have a use case where I would like to add the file renovate.json (with content, of course) to a collection of repositories.

Would have sense to improve this script or better to create an script a part with this single responsibility?


Probably we can get some inspiration from https://github.com/octoherd/script-add-octoherd-cli-to-script/blob/main/script.js

@oscard0m oscard0m added the feature New feature or request label Mar 3, 2021
@gr2m
Copy link
Member

gr2m commented Mar 3, 2021

We could extend this script to accept a parameter for the settings location:

$ npx @octoherd/script-setup-renovate \
  --octoherd-token 0123456789012345678901234567890123456789 \
  script-setup-renovate/script.js \
  "octokit/*" \
  --extends "github>octokit/.github"
  --in renovate.json # or: package.json

@oscard0m oscard0m self-assigned this Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants