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