Skip to content

Add RomanianAnalyzer to 3.x breaking changes #2803

Add RomanianAnalyzer to 3.x breaking changes

Add RomanianAnalyzer to 3.x breaking changes #2803

name: Delete merged branch of the PRs
on:
pull_request:
types:
- closed
jobs:
delete-branch:
runs-on: ubuntu-latest
if: |

Check warning on line 10 in .github/workflows/delete_merged_branch.yml

View workflow run for this annotation

GitHub Actions / Delete merged branch of the PRs

Workflow syntax warning

.github/workflows/delete_merged_branch.yml (Line: 10, Col: 9): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
github.repository == 'opensearch-project/documentation-website' &&
${{ !startsWith(github.event.pull_request.head.ref, 'main') }} &&
${{ !startsWith(github.event.pull_request.head.ref, '1.') }} &&
${{ !startsWith(github.event.pull_request.head.ref, '2.') }} &&
${{ !startsWith(github.event.pull_request.head.ref, 'version/') }}
steps:
- name: Echo remove branch
run: echo Removing ${{github.event.pull_request.head.ref}}
- name: Delete merged branch
uses: SvanBoxel/delete-merged-branch@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}