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

Add auto labeler workflow #455

Merged
merged 2 commits into from
Mar 22, 2022
Merged

Conversation

ohltyler
Copy link
Member

Signed-off-by: Tyler Ohlsen ohltyler@amazon.com

Description

Similar to frontend PR, this adds a GHA and corresponding config file to auto-label opened PRs to main. See other PR for more details.

Still defaulting everything to 1.x for now, may move to 2.x once that branch is available, and the main has bumped to 2.0 compatibility.

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
@ohltyler ohltyler requested a review from a team March 22, 2022 21:47
@ohltyler ohltyler added the infra Changes to infrastructure, testing, CI/CD, pipelines, etc. label Mar 22, 2022
Copy link
Collaborator

@ylwu-amzn ylwu-amzn left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks! Can you also help add this to ml-commons?

@ohltyler
Copy link
Member Author

LGTM. Thanks! Can you also help add this to ml-commons?

Yes, I'll handle that

@codecov-commenter
Copy link

Codecov Report

Merging #455 (4e0ce87) into main (2505add) will decrease coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #455      +/-   ##
============================================
- Coverage     78.14%   77.86%   -0.28%     
+ Complexity     4162     4149      -13     
============================================
  Files           296      296              
  Lines         17657    17657              
  Branches       1879     1879              
============================================
- Hits          13798    13749      -49     
- Misses         2975     3026      +51     
+ Partials        884      882       -2     
Flag Coverage Δ
plugin 77.86% <ø> (-0.28%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../java/org/opensearch/ad/AnomalyDetectorRunner.java 37.64% <0.00%> (-5.89%) ⬇️
...c/main/java/org/opensearch/ad/util/ParseUtils.java 73.83% <0.00%> (-3.95%) ⬇️
...va/org/opensearch/ad/feature/SearchFeatureDao.java 82.78% <0.00%> (-3.86%) ⬇️
...ain/java/org/opensearch/ad/model/ModelProfile.java 69.09% <0.00%> (-3.64%) ⬇️
...ansport/handler/AnomalyResultBulkIndexHandler.java 67.74% <0.00%> (-3.23%) ⬇️
...port/SearchAnomalyDetectorInfoTransportAction.java 64.44% <0.00%> (-2.23%) ⬇️
...ain/java/org/opensearch/ad/task/ADTaskManager.java 75.24% <0.00%> (-1.36%) ⬇️
...opensearch/ad/indices/AnomalyDetectionIndices.java 72.09% <0.00%> (-0.19%) ⬇️
...rch/ad/transport/AnomalyResultTransportAction.java 80.13% <0.00%> (ø)
...ava/org/opensearch/ad/task/ADTaskCacheManager.java 89.31% <0.00%> (+0.95%) ⬆️

@ohltyler ohltyler merged commit 3bdb4f6 into opensearch-project:main Mar 22, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 22, 2022
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit 3bdb4f6)
ohltyler added a commit that referenced this pull request Mar 23, 2022
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit 3bdb4f6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.x infra Changes to infrastructure, testing, CI/CD, pipelines, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants