From 5277548d37b6dd43dc09353bc018fdf76c188e4a Mon Sep 17 00:00:00 2001 From: Peter Svensson Date: Wed, 9 Apr 2025 14:43:28 +0200 Subject: [PATCH] chore: update pre-commit flow --- .github/workflows/pre-commit.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index f8364ad..5c28c77 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -1,12 +1,8 @@ name: pre-commit - -on: - pull_request: - push: - branches: [main] - permissions: read-all +on: [ pull_request ] + jobs: pre-commit: runs-on: ubuntu-latest