We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b6944 commit 13ef492Copy full SHA for 13ef492
1 file changed
.github/workflows/e2e.yaml
@@ -12,8 +12,30 @@ permissions:
12
contents: read
13
14
jobs:
15
- e2e-tests:
+ changes:
16
if: github.repository_owner == 'jumpstarter-dev'
17
+ runs-on: ubuntu-latest
18
+ outputs:
19
+ should_run: ${{ steps.filter.outputs.e2e }}
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
+ - uses: dorny/paths-filter@v3
25
+ id: filter
26
27
+ base: ${{ github.base_ref || github.event.merge_group.base_ref || 'main' }}
28
+ filters: |
29
+ e2e:
30
+ - 'controller/**'
31
+ - 'e2e/**'
32
+ - 'python/**'
33
+ - '.github/workflows/e2e.yaml'
34
+ - 'Makefile'
35
+
36
+ e2e-tests:
37
+ needs: changes
38
+ if: needs.changes.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
39
strategy:
40
matrix:
41
os:
0 commit comments