diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 863470c..99fda28 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -2,7 +2,6 @@ name: pre-commit on: pull_request: - branches: [main] push: branches: [main] @@ -10,6 +9,6 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v4.2.2 + - uses: actions/setup-python@v5.3.0 - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3af437c..bf3b95e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace