From 348e8b614e04c04ebf5aaa4034acd410967785aa Mon Sep 17 00:00:00 2001 From: 53845714nF <{ID}+{username}@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:31:59 +0100 Subject: [PATCH] fix pre-commit --- .github/workflows/pre-commit.yml | 19 ++++++++++--------- .pre-commit-config.yaml | 6 ------ 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index d8346d7..544b97a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,14 +1,15 @@ +--- name: pre-commit on: - pull_request: - push: - workflow_dispatch: + pull_request: + push: + workflow_dispatch: jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.1 + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86c3641..b390cf2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,11 +15,6 @@ repos: args: [--exclude, '**/*.patch.yaml'] files: .yml$ - - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt - rev: 0.2.3 - hooks: - - id: yamlfmt - - repo: https://github.com/tekwizely/pre-commit-golang rev: v1.0.0-rc.1 hooks: @@ -27,4 +22,3 @@ repos: - id: go-build-repo-mod - id: go-mod-tidy - id: go-mod-tidy-repo - - id: go-sec-pkg