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

Improve Library Versions Dependabot #565

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

dnestoro
Copy link
Member

@dnestoro dnestoro commented Nov 13, 2024

What does this PR do?

It improves issue for unsupported libraries by grouping different versions of the same library.

Feature provided in this PR collects all comments from the issue that contains unsupported libraries (that jobs from workflows matrix added) and groups them by library name.

The final issue should look like this:
Screenshot from 2024-11-13 16-41-04

@dnestoro dnestoro requested a review from a team as a code owner November 13, 2024 15:32
@dnestoro dnestoro requested review from vjovanov and removed request for vjovanov November 13, 2024 15:32
@dnestoro dnestoro force-pushed the dnestoro/CreateLibraryVersionsDependabot branch from 52ab426 to 87027fa Compare November 13, 2024 15:36
@dnestoro dnestoro requested review from fniephaus and olpaw November 13, 2024 15:42
ALL_COMMENTS=$(gh issue view "${{ needs.get-all-libraries.outputs.issue }}" --comments)

FORMATTED_BODY=$(./gradlew -q extractLibrariesGroupsFromGithubComments --comments="$ALL_COMMENTS")
gh issue create --title "List unsupported libraries versions" --body "$FORMATTED_BODY"
Copy link
Member

@olpaw olpaw Nov 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this create new a new issue every time the action runs or will the issue update if it already exists?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will create an issue every time we run the action

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't do that. We need to keep the updated one. That is why I proposed an issue per library that is updated over slack.

@fniephaus fniephaus removed their request for review November 13, 2024 16:20
@fniephaus
Copy link
Member

I'm afraid I won't have time to review this PR this week.

@dnestoro dnestoro merged commit 28809c4 into master Nov 13, 2024
225 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants