From f1ccfcf1504c27cbaaecbc28ec26299d785d2695 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Tue, 28 Feb 2023 15:35:53 +0100 Subject: [PATCH] Only run CI if there are changes to go files or the workflow [skip ci] --- .github/workflows/dendrite.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml index 2f615a6a..033c5864 100644 --- a/.github/workflows/dendrite.yml +++ b/.github/workflows/dendrite.yml @@ -4,7 +4,13 @@ on: push: branches: - main + paths: + - '**.go' # only execute on changes to go files + - '.github/workflows/**' # or workflow changes pull_request: + paths: + - '**.go' + - '.github/workflows/**' release: types: [published] workflow_dispatch: