From: Marcel van der Veldt Date: Mon, 10 Mar 2025 14:47:41 +0000 (+0100) Subject: adjust pre-commit config X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=46c3ce1da1841cb68c49e46edbfb2812ea5eae9d;p=music-assistant-server.git adjust pre-commit config --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 445b4956..c9d83886 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -73,13 +73,13 @@ repos: entry: scripts/run-in-env.sh end-of-file-fixer stages: [pre-commit, pre-push, manual] - id: no-commit-to-branch - name: 🛑 Don't commit to main branch + name: 🛑 Don't commit to stable branch language: system entry: scripts/run-in-env.sh no-commit-to-branch pass_filenames: false always_run: true args: - - --branch=main + - --branch=stable - id: trailing-whitespace name: ✄ Trim Trailing Whitespace language: system