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

Remove labels arg for closing GH issue #531

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

gaiksaya
Copy link
Member

Description

See the library here https://github.com/opensearch-project/opensearch-build-libraries/blob/main/vars/closeGithubIssue.groovy
Labels are not required in the code execution. Removing non required args

Issues Resolved

closes #529

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.

@peterzhuamazon
Copy link
Member

Will remove the label requirement cause some issues with same name to be mistakenly closed?

@gaiksaya
Copy link
Member Author

Will remove the label requirement cause some issues with same name to be mistakenly closed?

No the label arg is complete ignore in the library. https://github.com/opensearch-project/opensearch-build-libraries/blob/main/vars/closeGithubIssue.groovy#L22-L28

Copy link
Member

@peterzhuamazon peterzhuamazon left a comment

Choose a reason for hiding this comment

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

Please bump version.

Signed-off-by: Sayali Gaikawad <[email protected]>
@gaiksaya
Copy link
Member Author

gaiksaya commented Oct 11, 2024

Please bump version.

Done! It was 7.0.1 which was unreleased but this qualifies for minor bump as well.

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.72%. Comparing base (8d86c41) to head (4edd4a6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #531   +/-   ##
=========================================
  Coverage     84.72%   84.72%           
  Complexity      105      105           
=========================================
  Files           115      115           
  Lines           648      648           
  Branches         71       71           
=========================================
  Hits            549      549           
  Misses           29       29           
  Partials         70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gaiksaya gaiksaya merged commit 4e94ed7 into opensearch-project:main Oct 11, 2024
8 of 9 checks passed
@gaiksaya gaiksaya deleted the fix-closeIssue branch October 11, 2024 21:37
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 11, 2024
Signed-off-by: Sayali Gaikawad <[email protected]>
(cherry picked from commit 4e94ed7)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[Bug]: Labels should not be required to close an issue
2 participants