incubator-devlake
incubator-devlake copied to clipboard
[Feature][Config-UI] Add the GitHub configuration to parse issue key from the PR body in config-ui
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
This configuration was supported via .env. However, it has not been added to the GitHub transformation page in the config-ui's blueprint creation flow.
# GITHUB_PR_BODY_CLOSE=(?mi)^.*(fix|close|resolve|fixes|closes|resolves|fixed|closed|resolved)[\s]* .*\d+
GITHUB_PR_BODY_CLOSE_PATTERN=
# GITHUB_PR_BODY_NUMBER_PREFIX="(#|https:\/\/github.com\/%s\/%s\/issues\/)"
GITHUB_PR_BODY_NUMBER_PREFIX=
Use case
As a project maintainer, I want to see the number of different types of issues (features/bugs) a PR closes. Then I can calculate dev resources spent on different types of work.
Related issues
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct