chore(deps-dev): bump vite from 4.1.5 to 4.5.2 #4
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: Only Accept Merge from Develop Branch | |
on: | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
only-merge-from-develop: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if the pull request is mergeable to main / master | |
run: | | |
if [[ "$GITHUB_HEAD_REF" == 'develop' ]]; then | |
exit 0 | |
else | |
echo "Branch de origem inválida! Aceitamos apenas merge da branch develop." | |
exit 1 | |
fi |