Do not run all GHA workflows twice when a new branch is created (#7825)
* Do not run all GHA workflows twice when a new branch is created
* Do not trigger Ansible molecule GHAs
diff --git a/.github/workflows/ansible.molecule.fo.yml b/.github/workflows/ansible.molecule.fo.yml
index 2062125..5cbbc94 100644
--- a/.github/workflows/ansible.molecule.fo.yml
+++ b/.github/workflows/ansible.molecule.fo.yml
@@ -17,19 +17,18 @@
---
name: Molecule - FO
-on:
- create:
- push:
- paths:
- - .github/workflows/ansible.molecule.fo.yml
- - infrastructure/ansible/roles/molecule_shared/**
- - infrastructure/ansible/roles/fakeOrigin/**
- pull_request:
- paths:
- - .github/workflows/ansible.molecule.fo.yml
- - infrastructure/ansible/roles/molecule_shared/**
- - infrastructure/ansible/roles/fakeOrigin/**
- types: [opened, reopened, ready_for_review, synchronize]
+#on:
+# push:
+# paths:
+# - .github/workflows/ansible.molecule.fo.yml
+# - infrastructure/ansible/roles/molecule_shared/**
+# - infrastructure/ansible/roles/fakeOrigin/**
+# pull_request:
+# paths:
+# - .github/workflows/ansible.molecule.fo.yml
+# - infrastructure/ansible/roles/molecule_shared/**
+# - infrastructure/ansible/roles/fakeOrigin/**
+# types: [opened, reopened, ready_for_review, synchronize]
jobs:
lint:
diff --git a/.github/workflows/ansible.molecule.todb.yml b/.github/workflows/ansible.molecule.todb.yml
index 0fc529c..c74e83a 100644
--- a/.github/workflows/ansible.molecule.todb.yml
+++ b/.github/workflows/ansible.molecule.todb.yml
@@ -17,19 +17,18 @@
---
name: Molecule - TODB
-on:
- create:
- push:
- paths:
- - .github/workflows/ansible.molecule.todb.yml
- - infrastructure/ansible/roles/molecule_shared/**
- - infrastructure/ansible/roles/traffic_opsdb/**
- pull_request:
- paths:
- - .github/workflows/ansible.molecule.todb.yml
- - infrastructure/ansible/roles/molecule_shared/**
- - infrastructure/ansible/roles/traffic_opsdb/**
- types: [opened, reopened, ready_for_review, synchronize]
+#on:
+# push:
+# paths:
+# - .github/workflows/ansible.molecule.todb.yml
+# - infrastructure/ansible/roles/molecule_shared/**
+# - infrastructure/ansible/roles/traffic_opsdb/**
+# pull_request:
+# paths:
+# - .github/workflows/ansible.molecule.todb.yml
+# - infrastructure/ansible/roles/molecule_shared/**
+# - infrastructure/ansible/roles/traffic_opsdb/**
+# types: [opened, reopened, ready_for_review, synchronize]
jobs:
lint:
diff --git a/.github/workflows/cache-config-tests.yml b/.github/workflows/cache-config-tests.yml
index f5ad388..173504f 100644
--- a/.github/workflows/cache-config-tests.yml
+++ b/.github/workflows/cache-config-tests.yml
@@ -47,7 +47,6 @@
- traffic_ops/traffic_ops_golang/**.go
- vendor/**.go
- vendor/modules.txt
- create:
pull_request:
paths:
- cache-config/**.go
diff --git a/.github/workflows/cache-config.unit.tests.yml b/.github/workflows/cache-config.unit.tests.yml
index 029033c..8aab4bd 100644
--- a/.github/workflows/cache-config.unit.tests.yml
+++ b/.github/workflows/cache-config.unit.tests.yml
@@ -33,7 +33,6 @@
- '!**_test.go'
- 'cache-config/**_test.go'
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/go-test/**
diff --git a/.github/workflows/check-go-modules.yml b/.github/workflows/check-go-modules.yml
index b20d903..d4b2254 100644
--- a/.github/workflows/check-go-modules.yml
+++ b/.github/workflows/check-go-modules.yml
@@ -26,7 +26,6 @@
- go.sum
- GO_VERSION
- vendor/**
- create:
pull_request:
paths:
- .github/check-go-modules/**
diff --git a/.github/workflows/ciab.yaml b/.github/workflows/ciab.yaml
index 39c6bee..9a5d33e 100644
--- a/.github/workflows/ciab.yaml
+++ b/.github/workflows/ciab.yaml
@@ -54,7 +54,6 @@
- 'dev/**'
- 'Makefile'
- 'cache-config/Makefile'
- create:
pull_request:
paths-ignore:
- '*.*'
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index eb162e8..3fcb418 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -18,7 +18,6 @@
name: Documentation Build
on:
- create:
push:
paths:
- docs/source/**
diff --git a/.github/workflows/go.fmt.yml b/.github/workflows/go.fmt.yml
index 0965be3..1a70e59 100644
--- a/.github/workflows/go.fmt.yml
+++ b/.github/workflows/go.fmt.yml
@@ -28,7 +28,6 @@
- .github/workflows/go.fmt.yml
- GO_VERSION
- "**.go"
- create:
pull_request:
paths:
- .github/actions/go-fmt
diff --git a/.github/workflows/go.lib.unit.tests.yml b/.github/workflows/go.lib.unit.tests.yml
index df7274e..05d7e0a 100644
--- a/.github/workflows/go.lib.unit.tests.yml
+++ b/.github/workflows/go.lib.unit.tests.yml
@@ -33,7 +33,6 @@
- '!**_test.go'
- 'lib/**_test.go'
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/go-test/**
diff --git a/.github/workflows/go.vet.yml b/.github/workflows/go.vet.yml
index c502350..961c217 100644
--- a/.github/workflows/go.vet.yml
+++ b/.github/workflows/go.vet.yml
@@ -24,7 +24,6 @@
- .github/workflows/go.vet.yml
- GO_VERSION
- '**.go'
- create:
pull_request:
paths:
- .github/actions/go-vet
diff --git a/.github/workflows/grove.unit.tests.yml b/.github/workflows/grove.unit.tests.yml
index 66655b6..69b4534 100644
--- a/.github/workflows/grove.unit.tests.yml
+++ b/.github/workflows/grove.unit.tests.yml
@@ -33,7 +33,6 @@
- '!**_test.go'
- 'grove/**_test.go'
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/go-test/**
diff --git a/.github/workflows/health-client-tests.yml b/.github/workflows/health-client-tests.yml
index b166219..0be7395 100644
--- a/.github/workflows/health-client-tests.yml
+++ b/.github/workflows/health-client-tests.yml
@@ -44,7 +44,6 @@
- .github/actions/build-ats-test-rpm/**
- .github/actions/repo-info/**
- .github/actions/health-client-integration-tests/**
- create:
pull_request:
paths:
- .github/workflows/health-client-tests.yml
diff --git a/.github/workflows/license-file-coverage.yml b/.github/workflows/license-file-coverage.yml
index 64ead4d..4ce3843 100644
--- a/.github/workflows/license-file-coverage.yml
+++ b/.github/workflows/license-file-coverage.yml
@@ -31,7 +31,6 @@
- .github/workflows/license-file-coverage.yml
- .github/actions/license-file-coverage
- LICENSE
- create:
pull_request:
paths:
- .github/workflows/license-file-coverage.yml
diff --git a/.github/workflows/postinstall.tests.yml b/.github/workflows/postinstall.tests.yml
index 82e095b..ec5735a 100644
--- a/.github/workflows/postinstall.tests.yml
+++ b/.github/workflows/postinstall.tests.yml
@@ -23,7 +23,6 @@
- .github/workflows/postinstall.tests.yml
- traffic_ops/install/bin/_postinstall
- traffic_ops/install/bin/postinstall.test.sh
- create:
pull_request:
paths:
- .github/workflows/postinstall.tests.yml
diff --git a/.github/workflows/tm.integration.tests.yml b/.github/workflows/tm.integration.tests.yml
index 6b94c06..95dca7b 100644
--- a/.github/workflows/tm.integration.tests.yml
+++ b/.github/workflows/tm.integration.tests.yml
@@ -29,7 +29,6 @@
- GO_VERSION
- traffic_monitor/**
- lib/**
- create:
pull_request:
paths:
- .github/actions/tm-integration-tests/**
diff --git a/.github/workflows/tm.unit.tests.yml b/.github/workflows/tm.unit.tests.yml
index cbb124d..e3d7ecc 100644
--- a/.github/workflows/tm.unit.tests.yml
+++ b/.github/workflows/tm.unit.tests.yml
@@ -33,7 +33,6 @@
- '!**_test.go'
- 'traffic_monitor/**_test.go'
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/go-test/**
diff --git a/.github/workflows/to.api.contract.tests.yml b/.github/workflows/to.api.contract.tests.yml
index a709289..60194d9 100644
--- a/.github/workflows/to.api.contract.tests.yml
+++ b/.github/workflows/to.api.contract.tests.yml
@@ -32,7 +32,6 @@
- traffic_ops/**.go
- '!**_test.go'
- traffic_control/clients/python/**.py
- create:
pull_request:
paths:
- .github/actions/todb-init/**
diff --git a/.github/workflows/to.integration.tests.yml b/.github/workflows/to.integration.tests.yml
index 2be60a5..e998c85 100644
--- a/.github/workflows/to.integration.tests.yml
+++ b/.github/workflows/to.integration.tests.yml
@@ -37,7 +37,6 @@
- traffic_ops/traffic_ops_golang/**.go
- vendor/**.go
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/todb-init/**
diff --git a/.github/workflows/to.unit.tests.yml b/.github/workflows/to.unit.tests.yml
index 5a71024..c7dfbe6 100644
--- a/.github/workflows/to.unit.tests.yml
+++ b/.github/workflows/to.unit.tests.yml
@@ -33,7 +33,6 @@
- '!**_test.go'
- 'traffic_ops/traffic_ops_golang/**_test.go'
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/go-test/**
diff --git a/.github/workflows/tp.integration.tests.yml b/.github/workflows/tp.integration.tests.yml
index 17fb097..b1b520e 100644
--- a/.github/workflows/tp.integration.tests.yml
+++ b/.github/workflows/tp.integration.tests.yml
@@ -36,7 +36,6 @@
- traffic_ops/app/db/**
- traffic_ops/traffic_ops_golang/**.go
- traffic_portal/**
- create:
pull_request:
paths:
- .github/actions/todb-init/**
diff --git a/.github/workflows/tpv2.yml b/.github/workflows/tpv2.yml
index 57c156a..3593a79 100644
--- a/.github/workflows/tpv2.yml
+++ b/.github/workflows/tpv2.yml
@@ -30,7 +30,6 @@
- '!**_test.go'
- traffic_ops/app/db/**
- traffic_ops/traffic_ops_golang/**.go
- create:
pull_request:
paths:
- experimental/traffic-portal/**
diff --git a/.github/workflows/tr-ultimate-test-harness.yml b/.github/workflows/tr-ultimate-test-harness.yml
index 3a106a1..19441a8 100644
--- a/.github/workflows/tr-ultimate-test-harness.yml
+++ b/.github/workflows/tr-ultimate-test-harness.yml
@@ -28,7 +28,6 @@
- .github/workflows/tr-ultimate-test-harness.yml
- dev/traffic_router/**
- traffic_router/**
- create:
pull_request:
paths:
- .github/actions/tr-ultimate-test-harness/**
diff --git a/.github/workflows/tr.tests.yaml b/.github/workflows/tr.tests.yaml
index b04a7b6..dc0b084 100644
--- a/.github/workflows/tr.tests.yaml
+++ b/.github/workflows/tr.tests.yaml
@@ -34,7 +34,6 @@
paths:
- .github/workflows/tr.tests.yaml
- traffic_router/**
- create:
pull_request:
paths:
- .github/workflows/tr.tests.yaml
diff --git a/.github/workflows/traffic-stats.unit.tests.yml b/.github/workflows/traffic-stats.unit.tests.yml
index 24a6756..5bfbe90 100644
--- a/.github/workflows/traffic-stats.unit.tests.yml
+++ b/.github/workflows/traffic-stats.unit.tests.yml
@@ -33,7 +33,6 @@
- '!**_test.go'
- traffic_stats/**_test.go
- vendor/modules.txt
- create:
pull_request:
paths:
- .github/actions/go-test/**
diff --git a/.github/workflows/traffic.ops.database.yml b/.github/workflows/traffic.ops.database.yml
index 758d613..e3c216e 100644
--- a/.github/workflows/traffic.ops.database.yml
+++ b/.github/workflows/traffic.ops.database.yml
@@ -22,7 +22,6 @@
ALPINE_VERSION: sha256:08d6ca16c60fe7490c03d10dc339d9fd8ea67c6466dea8d558526b1330a85930
on:
- create:
push:
paths:
- traffic_ops/app/db/**
diff --git a/.github/workflows/weasel.yml b/.github/workflows/weasel.yml
index be44c17..5fe4ec2 100644
--- a/.github/workflows/weasel.yml
+++ b/.github/workflows/weasel.yml
@@ -19,7 +19,6 @@
on:
push:
- create:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]