sta2 / .github /workflows /warns_merge_master.yml
sdgsdggds's picture
Upload 258 files
ea58bad verified
raw
history blame
424 Bytes
name: Pull requests can't target master branch
"on":
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Warning marge into master
run: |
echo -e "::warning::This pull request directly merge into \"master\" branch, normally development happens on \"dev\" branch."
exit 1