Skip to content
name: Check Main Pull Request
on:
pull_request:
branches:
- main
jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Check if PR is from develop
if: ${{ github.event.pull_request.base.ref != 'develop' }}
run: echo "Erro: Esta pull request só pode ser feita da branch develop para a main." && exit 1

Check failure on line 15 in .github/workflows/main_pull_request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main_pull_request.yml

Invalid workflow file

You have an error in your yaml syntax on line 15