mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-09 18:36:27 +00:00
CI - Allow pull requests to master from any branch
Remove the workflow that only allowed pull requests to master from development, which no longer exists.
This commit is contained in:
1 parent
65409c4378
commit
163f713b31
1 file changed
-17
@@ -1,17 +0,0 @@
|
|||||||
name: Check pull request branch
|
|
||||||
on:
|
|
||||||
pull_request_target:
|
|
||||||
types:
|
|
||||||
- opened
|
|
||||||
- reopened
|
|
||||||
- synchronize
|
|
||||||
jobs:
|
|
||||||
check-branches:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check branches
|
|
||||||
run: |
|
|
||||||
if [ ${{ github.head_ref }} != "development" ] && [ ${{ github.base_ref }} == "master" ]; then
|
|
||||||
echo "Merge requests to master are only allowed from development."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Reference in new issue
Block a user