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

5 files changed

+15
-0
lines changed

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

+3
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

+3
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

+3
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

+3
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

+3
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)