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 delete backport branch GitHub Action #348

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Jan 2, 2024

Description

Our repo now has a setting toggled that automatically deletes the PR branch when it's merged. This is a native GitHub setting that did not exist when the delete-branch GHA was implemented and should probably be used org-wide.

In any case, this workflow is now useless and will always fail, see for example https://github.com/opensearch-project/flow-framework/actions/runs/7390615156

If you really want your fork branch back after your PR is merged you can always re-open it from the PR dialog.

Issues Resolved

No more emails of failed backport branch deletions when someone deletes their own branch right after merging. 😁

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.

Copy link

codecov bot commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dd32d55) 71.47% compared to head (c5b8bec) 71.34%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #348      +/-   ##
============================================
- Coverage     71.47%   71.34%   -0.14%     
+ Complexity      562      561       -1     
============================================
  Files            73       73              
  Lines          3001     3001              
  Branches        230      230              
============================================
- Hits           2145     2141       -4     
- Misses          746      751       +5     
+ Partials        110      109       -1     

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

@ohltyler ohltyler merged commit e7b778c into opensearch-project:main Jan 3, 2024
21 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 3, 2024
Signed-off-by: Daniel Widdis <[email protected]>
(cherry picked from commit e7b778c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dbwiddis dbwiddis deleted the no-delete-backport branch January 3, 2024 22:50
dbwiddis pushed a commit that referenced this pull request Jan 3, 2024
Remove delete backport branch GitHub Action (#348)


(cherry picked from commit e7b778c)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-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
Labels
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants