From 32ab233cb0277e2cd3f7a831816a45632d26b517 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Fri, 29 May 2026 13:22:59 -0400 Subject: [PATCH] ci: use shared pre-commit hook --- .pre-commit-config.yaml | 4 ---- .taskcluster.yml | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 904c45a55..ec1ef4aad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,6 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks --- -ci: - autofix_commit_msg: "style: pre-commit.ci auto fixes [...]" - autoupdate_commit_msg: "chore: pre-commit autoupdate" - autoupdate_schedule: monthly repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 diff --git a/.taskcluster.yml b/.taskcluster.yml index 2ddb820e0..cb86e629c 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -3,6 +3,8 @@ version: 1 reporting: checks-v1 policy: pullRequests: public +hooks: + - name: lint/pre-commit-v1 tasks: - $let: trustDomain: scriptworker