From 97f0580fabe8e305fb228889dab42bf920677da8 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Thu, 9 Feb 2023 21:39:14 +0000 Subject: [PATCH] Add note about pre-commit.ci for open source --- {{cookiecutter.project_slug}}/.github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/{{cookiecutter.project_slug}}/.github/workflows/ci.yml b/{{cookiecutter.project_slug}}/.github/workflows/ci.yml index 0f7eefec5..3c8ea8780 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/ci.yml @@ -32,6 +32,9 @@ jobs: python-version: "3.10" cache: pip + {%- if cookiecutter.open_source_license != 'Not open source' %} + # Consider using pre-commit.ci for open source project + {%- endif %} - name: Run pre-commit uses: pre-commit/action@v2.0.3