Skip to content

Update delete_backport_branch workflow to use github-script with proper permissions#1549

Open
RileyJergerAmazon wants to merge 1 commit intoopensearch-project:mainfrom
RileyJergerAmazon:update-delete-branch-workflow-v2
Open

Update delete_backport_branch workflow to use github-script with proper permissions#1549
RileyJergerAmazon wants to merge 1 commit intoopensearch-project:mainfrom
RileyJergerAmazon:update-delete-branch-workflow-v2

Conversation

@RileyJergerAmazon
Copy link
Copy Markdown
Contributor

This PR updates the delete_backport_branch workflow to use the actions/github-script@v7 action with proper permissions instead of the SvanBoxel/delete-merged-branch@main action. This is a more modern approach that provides better security and control over the branch deletion process.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.03%. Comparing base (97defcd) to head (d31c95b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1549      +/-   ##
============================================
+ Coverage     80.93%   81.03%   +0.10%     
- Complexity     6417     6435      +18     
============================================
  Files           554      554              
  Lines         26447    26447              
  Branches       2716     2716              
============================================
+ Hits          21405    21432      +27     
+ Misses         3658     3639      -19     
+ Partials       1384     1376       -8     
Flag Coverage Δ
plugin 81.03% <ø> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…er permissions

Signed-off-by: Riley Jerger <rjerger@amazon.com>
@dbwiddis dbwiddis force-pushed the update-delete-branch-workflow-v2 branch from 721c569 to d31c95b Compare February 15, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Changes to infrastructure, testing, CI/CD, pipelines, etc. skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants