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

feat(recipes): Add a dependabot GitHub action file #338

Merged

Conversation

gounthar
Copy link
Collaborator

Fixes #337.

Thanks a lot for the tip, @jonesbusy, I didn't know we could do as simple as that. 😉

Summary

  • New Features

    • Introduced a new recipe for managing dependencies, enabling integration of a GitHub action for dependency checking in Jenkins plugins.

Walkthrough

The changes in this pull request introduce a new recipe for Jenkins plugin dependency management, specifically io.jenkins.tools.pluginmodernizer.AddDependencyCheck, which facilitates the integration of a GitHub action for dependency checking.

Changes

File Path Change Summary
plugin-modernizer-core/src/main/resources/META-INF/rewrite/recipes.yml - Added new recipe AddDependencyCheck for GitHub action dependency checking.

Testing done

rm -fr ~/.cache/jenkins-plugin-modernizer-cli/vagrant/ && java -jar plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar --plugins vagrant --recipes MinimalBuildJava8,AddOrModernizeJenkinsFile,AddDependencyCheck --debug produced the following PR: jenkinsci/vagrant-plugin#13.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@gounthar gounthar marked this pull request as ready for review October 17, 2024 12:27
@gounthar gounthar requested a review from a team as a code owner October 17, 2024 12:27
@gounthar gounthar merged commit 97c2c1c into jenkins-infra:main Oct 17, 2024
15 checks passed
@gounthar gounthar deleted the add-dependabot-declarative-recipe branch October 18, 2024 07:49
@jonesbusy jonesbusy added the enhancement For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: Add Recipe for Creating Dependabot Configuration File
2 participants