From 063aaddbdd0e6f9ec7e621d19880fc3c9bed7b8b Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 20 Oct 2022 08:37:12 +0000 Subject: [PATCH] chore(release): 2.1.0 [skip ci] # [2.1.0](https://github.com/Lundalogik/differential-build-action/compare/v2.0.6...v2.1.0) (2022-10-20) ### Features * `package.json` and `package-lock.json` in repo root does not trigger python run ([755c588](https://github.com/Lundalogik/differential-build-action/commit/755c5881b899a62c8bedf08735b874f4fa766bba)) --- CHANGELOG.md | 7 +++++++ dist/index.js | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfc2e6c..929b1ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.1.0](https://github.com/Lundalogik/differential-build-action/compare/v2.0.6...v2.1.0) (2022-10-20) + + +### Features + +* `package.json` and `package-lock.json` in repo root does not trigger python run ([755c588](https://github.com/Lundalogik/differential-build-action/commit/755c5881b899a62c8bedf08735b874f4fa766bba)) + ## [2.0.6](https://github.com/Lundalogik/differential-build-action/compare/v2.0.5...v2.0.6) (2020-10-06) diff --git a/dist/index.js b/dist/index.js index 21c6cef..ac46801 100644 --- a/dist/index.js +++ b/dist/index.js @@ -41,7 +41,12 @@ async function run() { const run_python = runEverything || - !!filenames.find((file) => !file.startsWith('frontend/')); + !!filenames.find( + (file) => + !file.startsWith('frontend/') && + file !== 'package.json' && + file !== 'package-lock.json' + ); const run_admin = runEverything || !!filenames.find((file) => file.startsWith('frontend/admin/'));