Warns merge into master

This commit is contained in:
w-e-w 2023-07-16 00:59:31 +09:00
parent c58cf73c80
commit 2970d712ee

View File

@ -0,0 +1,19 @@
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