Skip to content

Commit 82a5c88

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] trigger events changed.
1 parent 1c09eeb commit 82a5c88

File tree

8 files changed

+23
-8
lines changed

8 files changed

+23
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ permissions: read-all
1717

1818
on: # yamllint disable-line rule:truthy
1919
push:
20-
branches: ["main", "develop", "feature/*"]
20+
branches: ["main"]
2121
pull_request:
2222
# The branches below must be a subset of the branches above
2323
branches: ["main"]
24+
workflow_dispatch:
2425
schedule:
2526
# ┌───────────── minute (0 - 59)
2627
# │ ┌───────────── hour (0 - 23)

.github/workflows/docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ name: Docker Image CI
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
9+
# The branches below must be a subset of the branches above
910
branches: ["main"]
11+
workflow_dispatch:
1012

1113
env:
1214
IMAGE_NAME: algorithm-exercises-java

.github/workflows/java-gradle-coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ name: Java CI Coverage with Gradle
1212

1313
on: # yamllint disable-line rule:truthy
1414
push:
15-
branches: ["main", "develop", "feature/*"]
15+
branches: ["main"]
1616
pull_request:
17+
# The branches below must be a subset of the branches above
1718
branches: ["main"]
19+
workflow_dispatch:
1820

1921
permissions:
2022
contents: read

.github/workflows/java-gradle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ name: Java CI Tests with Gradle
1212

1313
on: # yamllint disable-line rule:truthy
1414
push:
15-
branches: ["main", "develop", "feature/*"]
15+
branches: ["main"]
1616
pull_request:
17+
# The branches below must be a subset of the branches above
1718
branches: ["main"]
19+
workflow_dispatch:
1820

1921
permissions:
2022
contents: read

.github/workflows/markdown-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ name: Markdown Lint
33

44
on: # yamllint disable-line rule:truthy
55
push:
6-
branches: ["main", "develop", "feature/*"]
6+
branches: ["main"]
77
pull_request:
8+
# The branches below must be a subset of the branches above
89
branches: ["main"]
10+
workflow_dispatch:
911

1012
permissions: read-all
1113

.github/workflows/snyk-code.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
name: Snyk Code (Java gradle-jdk17)
44

5-
on: push # yamllint disable-line rule:truthy
5+
on: # yamllint disable-line rule:truthy
6+
push:
7+
pull_request:
8+
workflow_dispatch:
69

710
jobs:
811
security:

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ name: SonarCloud
44

55
on: # yamllint disable-line rule:truthy
66
push:
7-
branches: ["main", "develop", "feature/*"]
7+
branches: ["main"]
88
pull_request:
99
types: [opened, synchronize, reopened]
10+
workflow_dispatch:
1011

1112
permissions: read-all
1213

.github/workflows/yamllint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ name: YAML lint
33

44
on: # yamllint disable-line rule:truthy
55
push:
6-
branches: ["main", "develop", "feature/*"]
6+
branches: ["main"]
77
pull_request:
8+
# The branches below must be a subset of the branches above
89
branches: ["main"]
10+
workflow_dispatch:
911

1012
jobs:
1113
lint:

0 commit comments

Comments
 (0)