From b037a54219321b67f346efd35ec6eb4c6279aef5 Mon Sep 17 00:00:00 2001 From: Rafid Bin Mostofa Date: Wed, 13 Mar 2024 14:36:38 +0600 Subject: [PATCH] chore: run installability tests only on relevance (#192) Currently we are running Installability Tests whenever a file inside ".github" directory is added or modified. We do not always need this. Instead, checking whether the relevant workflow file and scripts have changed is enough. --- .github/workflows/install-slices.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install-slices.yaml b/.github/workflows/install-slices.yaml index 5e2e1b4e2..4e3db42a1 100644 --- a/.github/workflows/install-slices.yaml +++ b/.github/workflows/install-slices.yaml @@ -5,12 +5,14 @@ on: branches: - "main" paths: - - ".github/**" + - ".github/scripts/install-slices/**" + - ".github/workflows/install-slices.yaml" pull_request: branches: - "main" paths: - - ".github/**" + - ".github/scripts/install-slices/**" + - ".github/workflows/install-slices.yaml" schedule: # Run at 00:00 every day. # Ref: https://man7.org/linux/man-pages/man5/crontab.5.html