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

Print Dependency Changes in PR comment #813

Open
wzieba opened this issue Aug 13, 2024 · 0 comments
Open

Print Dependency Changes in PR comment #813

wzieba opened this issue Aug 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wzieba
Copy link

wzieba commented Aug 13, 2024

Is your feature request related to a problem? Please describe.
When changing a dependency, I'd like to be informed via PR comment about all the changes that are actually happening in the dependency graph.

The build system I use has a complex logic for resolving transitive dependencies, so I can't always tell what side-effects are applied whenever a dependency is updated.

Describe the solution you'd like
When change in a dependency graph is detected, add a (opt-in?) section to the PR's comment with all changes. This is actually implemented in the action's output (below), my request would be only to append this section to PR's comment.

image

Describe alternatives you've considered

  • I thought about intercepting action's output log and filtering Dependency Changes section, but I couldn't find a way to interepct the output in the end
  • I could use JSON from outputs.dependency-changes, but this requires playing with jq and maintain a parsing logic

Additional context
The build system I use is Gradle, I use dependency-submission action: https://github.com/gradle/actions/tree/main/dependency-submission

@wzieba wzieba added the enhancement New feature or request label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant