Skip to content

Commit

Permalink
run github actions only when needed (#915)
Browse files Browse the repository at this point in the history
solves #914
  • Loading branch information
jkleinlercher authored Dec 16, 2024
1 parent 7988729 commit f5f658f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cluster-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,24 @@ on:
# do a full cluster test in main branch and when opening or changing PRs
push:
branches: [ "main" ]
paths:
- '.github/workflows/cluster-test.yml'
- '.github/kind-config.yaml'
- 'platform-apps/charts/**'
- 'platform-apps/target-chart/templates/**'
- 'platform-apps/target-chart/values.yaml'
- 'platform-apps/target-chart/values-kind*'
- 'install-platform.sh'
pull_request:
types: [opened, synchronize]
paths:
- '.github/workflows/cluster-test.yml'
- '.github/kind-config.yaml'
- 'platform-apps/charts/**'
- 'platform-apps/target-chart/templates/**'
- 'platform-apps/target-chart/values.yaml'
- 'platform-apps/target-chart/values-kind*'
- 'install-platform.sh'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down

0 comments on commit f5f658f

Please sign in to comment.