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

[Bug][GitHub] When collecting data, the values of 'pull_requests.type' and 'pull_requests.component' are incorrect for the data that meets the scope config rules. #6667

Closed
2 of 3 tasks
xiaomingzhang12 opened this issue Dec 19, 2023 · 0 comments · Fixed by #6670
Assignees
Labels
type/bug This issue is a bug

Comments

@xiaomingzhang12
Copy link

xiaomingzhang12 commented Dec 19, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

  1. Establish a connection and configure as follows:
    image

  2. Collect data from /apache/incubator-devlake.

  3. Check the data in the pull_requests table. Taking fix: yarn library license issues #6483 as an example, the original data is as follows:
    image

  4. Currently, pull_requests.type = -v0.20, pull_requests.component = -v0.20.
    image

What do you expect to happen

For one of the labels that match the rule, all the lables should be directly assigned to type and component. When multiple labels are present, they should be separated by commas. Taking PR #6483 as an example, both the type and component values should be "needs-cherrypick-v0.20,bot/auto-cherry-pick-completed

How to reproduce

See above

Anything else

No response

Version

main

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants