diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 23f9ba0d..c3f1e032 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,10 +2,6 @@ name: pre-commit on: pull_request: - push: - branches: - - main - - develop jobs: pre-commit: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 12193f43..ccc45323 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,10 +20,6 @@ repos: - id: mixed-line-ending args: - --fix=lf - - id: no-commit-to-branch - args: - - --branch=main - - --branch=develop - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell rev: v2.4.1