Skip to content

Commit 2c941f2

Browse files
committed
ci: don't execute static analysis, unit and integration tests on configs or scripts changes
Found after 64f8a84 commit, where I updated Ansible and these superfluous checks were triggered.
1 parent 470a64d commit 2c941f2

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

.github/workflows/integration-tests-h2.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '!.github/workflows/integration-tests-h2.yml'
99
- 'docs/**'
1010
- 'infra/**'
11+
- 'src/main/config/*'
12+
- 'src/main/scripts/**'
13+
- '!src/main/scripts/execute-command.sh'
1114

1215
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
1316
permissions:

.github/workflows/integration-tests-mysql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '!.github/workflows/integration-tests-mysql.yml'
99
- 'docs/**'
1010
- 'infra/**'
11+
- 'src/main/config/*'
12+
- 'src/main/scripts/**'
13+
- '!src/main/scripts/execute-command.sh'
1114

1215
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
1316
permissions:

.github/workflows/integration-tests-postgres.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '!.github/workflows/integration-tests-postgres.yml'
99
- 'docs/**'
1010
- 'infra/**'
11+
- 'src/main/config/*'
12+
- 'src/main/scripts/**'
13+
- '!src/main/scripts/execute-command.sh'
1114

1215
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
1316
permissions:

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '!.github/workflows/static-analysis.yml'
99
- 'docs/**'
1010
- 'infra/**'
11+
- 'src/main/config/nginx/*'
12+
- 'src/main/scripts/**'
13+
- '!src/main/scripts/execute-command.sh'
1114

1215
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
1316
permissions:

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '!.github/workflows/unit-tests.yml'
99
- 'docs/**'
1010
- 'infra/**'
11+
- 'src/main/config/*'
12+
- 'src/main/scripts/**'
13+
- '!src/main/scripts/execute-command.sh'
1114

1215
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
1316
permissions:

0 commit comments

Comments
 (0)