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

Tweak backport branch delete workflow to delete other merged branches #6809

Conversation

peterzhuamazon
Copy link
Member

@peterzhuamazon peterzhuamazon commented Mar 28, 2024

Description

Example PR: peterzhuamazon#1
Closed but not merged PR will not delete branch: https://github.com/peterzhuamazon/documentation-website/actions/runs/8474152485/job/23219993510#step:3:7
Merged PR delete branch: https://github.com/peterzhuamazon/documentation-website/actions/runs/8474156203/job/23220129159#step:3:7

Issues Resolved

Part of #6400

Checklist

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

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
@peterzhuamazon peterzhuamazon merged commit b694c5a into opensearch-project:main Mar 29, 2024
3 checks passed
@peterzhuamazon peterzhuamazon added the backport 2.12 PR: Backport label for 2.12 label Mar 29, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 29, 2024
…#6809)

* Tweak backport branch delete workflow to delete other merged branches

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Add prevent condition due to SvanBoxel/delete-merged-branch#204 issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
(cherry picked from commit b694c5a)
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
Labels
backport 2.12 PR: Backport label for 2.12 enhancement New feature or request workflows
Projects
Development

Successfully merging this pull request may close these issues.

3 participants