Skip to content

chore(root): add prettier check to precommit hook #284

chore(root): add prettier check to precommit hook

chore(root): add prettier check to precommit hook #284

Workflow file for this run

name: Prevent PRs to main
on:
pull_request_target:
types: [opened, edited]
jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- uses: Vankka/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
target: main
exclude: develop # Don't prevent going from develop -> main
change-to: develop
comment: |
Your PR was set to target `main`, PRs should be target `develop`
The base branch of this PR has been automatically changed to `develop`, please check that there are no merge conflicts