Skip to content

πŸ’š Skip no-commit-to-branch pre-commit hook in CI #20

πŸ’š Skip no-commit-to-branch pre-commit hook in CI

πŸ’š Skip no-commit-to-branch pre-commit hook in CI #20

Workflow file for this run

# This workflow triggers checks with pre-commit.
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- reopened
- ready_for_review
- synchronize
jobs:
pre-commit:
name: pre-commit
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
uses: ./.github/workflows/pre-commit.yml