Skip to content

Commit 2ed8ff0

Browse files
authored
Attempt to delete backport branches only for OpenSearch repo (#16240)
Signed-off-by: Sayali Gaikawad <[email protected]>
1 parent febbc00 commit 2ed8ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/delete_backport_branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: write
12-
if: startsWith(github.event.pull_request.head.ref,'backport/')
12+
if: github.repository == 'opensearch-project/OpenSearch' && startsWith(github.event.pull_request.head.ref,'backport/')
1313
steps:
1414
- name: Delete merged branch
1515
uses: actions/github-script@v7

0 commit comments

Comments
 (0)