From 8e0aa3153ab29deaebf1d9f2ba3b4f703869f498 Mon Sep 17 00:00:00 2001 From: Phil Schneider Date: Tue, 19 Nov 2024 15:14:11 +0100 Subject: [PATCH] chore: add filter to dependencies workflow --- .github/workflows/dependencies.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 62fdf9970e..2990e565ef 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -22,8 +22,22 @@ name: Check Dependencies on: push: branches: [main] + paths: + # all csproj files which include the external packages + - '**.csproj' + # dependencies file + - 'DEPENDENCIES' + # workflow file + - '.github/workflows/dependencies.yaml' pull_request: types: [opened, synchronize, reopened] + paths: + # all csproj files which include the external packages + - '**.csproj' + # dependencies file + - 'DEPENDENCIES' + # workflow file + - '.github/workflows/dependencies.yaml' workflow_dispatch: jobs: