adding cross encoder models in list #95
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 for model-uploader & model-listing-uploader | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
delete-branch: | |
runs-on: ubuntu-latest | |
if: startsWith(github.event.pull_request.head.ref,'model-uploader/') || startsWith(github.event.pull_request.head.ref,'model-listing-uploader/') | |
steps: | |
# Compared to backport.yml, this GitHub action will delete branch | |
# of a PR that is closed, but not merged as well. | |
- name: Delete closed PR branch | |
uses: dawidd6/action-delete-branch@v3 | |
with: | |
GITHUB_TOKEN: ${{github.token}} | |
numbers: ${{github.event.pull_request.number}} |