ML.NET IssuesTypePredicter Workflow (GitHub Action)#11459
Merged
QilongTang merged 5 commits intoDynamoDS:masterfrom Feb 8, 2021
RobertGlobant20:master
Merged
ML.NET IssuesTypePredicter Workflow (GitHub Action)#11459QilongTang merged 5 commits intoDynamoDS:masterfrom RobertGlobant20:master
QilongTang merged 5 commits intoDynamoDS:masterfrom
RobertGlobant20:master
Conversation
I added a new workflow (issue_type_predicte.yaml) that is using the ML.NET model for predicting the issue type (source repo), so If a new issue is created in the Dynamo repo this workflow will run and will predict if is a Wishlist issue or not. If is a Wishlist issue it will be labeled as "Wishlist" and then another workflow will move the issue to the DynamoWishlist repo. If the issue is incomplete or is not valid the label "NotMLEvaluated" will be added to the issue. Also I added two scripts more, one will return the issue body in a json string and the other one will clan the issue body removing sections not used like "Dynamo Version" or "Stack Trace"
QilongTang
reviewed
Feb 8, 2021
| - name: Label Wishlist | ||
| if: contains(env.is_wish_list,'IsWishlist:1') && env.analysis_response == 'Valid' | ||
| run: | | ||
| curl -v -u admin:${{ secrets.GITHUB_TOKEN }} -d '{"labels": ["Wishlist"]}' ${{ github.event.issue.url }}/labels |
Contributor
There was a problem hiding this comment.
Hi @RobertGlobant20 other than put label on it, do we plan to move the issue to wishlist repo?
Contributor
Author
There was a problem hiding this comment.
Hi @QilongTang
There is a existing workflow that moves the issues to the corresponding repo based in the label, so if we label a issue like "Wishlist" the "Move issue by labels" workflow will move the issue to the DynamoWishlist repo.
QilongTang
approved these changes
Feb 8, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Purpose
I added a new workflow (issue_type_predicte.yaml) that is using the ML.NET model for predicting the issue type (source repo), so If a new issue is created in the Dynamo repo this workflow will run and will predict if is a Wishlist issue or not. If is a Wishlist issue will be labeled as "Wishlist" and then another workflow will move the issue to the DynamoWishlist repo. If the issue is incomplete or is not valid the label "NotMLEvaluated" will be added to the issue.
Also I added two scripts more, one will return the issue body in a json string and the other one will clan the issue body removing sections not used like "Dynamo Version" or "Stack Trace"
Declarations
Check these if you believe they are true
*.resxfilesReviewers
@QilongTang
FYIs
@alfredo-pozo @Astul-Betizagasti