From 1e8fa3ac7cb2d6e516c47c306c86ed2334fc3dc0 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 1 Jan 2021 13:45:55 -0800 Subject: [PATCH] Only run prettier on changes to datasette/static Refs #1166 --- .github/workflows/prettier.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index eb3d843c..38d37654 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -2,7 +2,8 @@ name: Check JavaScript for conformance with Prettier on: push: - pull_request: + paths: + - 'datasette/static/*' jobs: prettier: