feat(plugin-sui): add support for swapping and transferring by domain name, and converting domain name to address #4709
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: Check pull request source branch | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
jobs: | |
check-branches: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check branches | |
run: | | |
if [ ${{ github.head_ref }} != "develop" ] && [ ${{ github.base_ref }} == "main" ]; then | |
echo "Merge requests to main branch are only allowed from dev branch." | |
exit 1 | |
fi |