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

Enable Dependabot if needed #20

Open
basil opened this issue Aug 18, 2023 · 3 comments
Open

Enable Dependabot if needed #20

basil opened this issue Aug 18, 2023 · 3 comments
Labels
recipe Requests for new automated code changes

Comments

@basil
Copy link
Contributor

basil commented Aug 18, 2023

Many plugins are missing .github/dependabot.yml, so their dependencies are never updated. If needed, this file should be added per the archetype.

@timtebeek timtebeek moved this to Recipes Wanted in OpenRewrite Aug 18, 2023
@timtebeek timtebeek added the recipe Requests for new automated code changes label Aug 18, 2023
@basil
Copy link
Contributor Author

basil commented Aug 18, 2023

As far as dependabot.yml sections go, package-ecosystem: maven should always be included (except for Gradle-based plugins, of which there are very few), but package-ecosystem: github-actions should only be included if the plugin has a Release Drafter (not inherited from the organization wide one, as should be the case for automated release) and/or Jenkins Security Scan workflow enabled. If the plugin has a .mvn_exec_node or .mvn_exec_yarn file, package-system: npm could be included as in e.g. active-choices-plugin.

@sghill
Copy link
Collaborator

sghill commented Sep 4, 2023

I noticed in jenkinsci/slack-plugin#886 that some plugins have switched from dependabot to renovate. A quick search shows 40 renovate config files.

I'm thinking this dependabot recipe should no-op if one of the supported configuration files is present.

@gounthar
Copy link
Contributor

I was about to open an issue with the very same subject, thanks a lot @basil !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Requests for new automated code changes
Projects
Status: Recipes Wanted
Development

No branches or pull requests

4 participants