diff --git a/.github/settings.yml b/.github/settings.yml index 64f34e9..37ff070 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -28,6 +28,8 @@ branches: required_status_checks: strict: true checks: + - context: pre-commit + app_id: 15368 - context: asdf plugin test (ubuntu-latest) app_id: 15368 - context: asdf plugin test (macos-latest) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8337860..9218f14 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,10 +1,7 @@ name: pre-commit on: - pull_request: - push: - branches: - - master +- pull_request jobs: pre-commit: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b6a9812..358a3f8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,3 +34,6 @@ repos: ci: autofix_commit_msg: 'chore: pre-commit auto fixes' autoupdate_commit_msg: 'chore: pre-commit autoupdate' + skip: + - shellcheck + - shfmt