aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-02-28 15:35:53 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-02-28 15:35:53 +0100
commitf1ccfcf1504c27cbaaecbc28ec26299d785d2695 (patch)
treebed751126762fd88503ed61a91be6faad3c705ae /.github
parent086e205eba14f98cff4781ecf3346ca9baf5dcc5 (diff)
Only run CI if there are changes to go files or the workflow [skip ci]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dendrite.yml6
1 files changed, 6 insertions, 0 deletions
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: