Skip to content

Merge pull request #3 from artisan-community/split-in-ci #2

Merge pull request #3 from artisan-community/split-in-ci

Merge pull request #3 from artisan-community/split-in-ci #2

Workflow file for this run

name: Prevent Direct Push to Main
on:
push:
branches:
- main
jobs:
prevent-push:
runs-on: ubuntu-latest
steps:
- name: Fail Push
run: |
echo "Direct pushes to the main branch are not allowed. Please use a pull request."
exit 1