Collapsing search results new page added to documentation #586
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Delete merged branch of the PRs | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
delete-branch: | |
runs-on: ubuntu-latest | |
if: | | |
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 }} |