This is an automated email from the ASF dual-hosted git repository.
ericholguin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 2d357077f1 Do not run all GHA workflows twice when a new branch is
created (#7825)
2d357077f1 is described below
commit 2d357077f11c7208afa816c1c7ad0234deca8dad
Author: Zach Hoffman <[email protected]>
AuthorDate: Tue Oct 3 11:14:55 2023 -0600
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
---
.github/workflows/ansible.molecule.fo.yml | 25 ++++++++++++-------------
.github/workflows/ansible.molecule.todb.yml | 25 ++++++++++++-------------
.github/workflows/cache-config-tests.yml | 1 -
.github/workflows/cache-config.unit.tests.yml | 1 -
.github/workflows/check-go-modules.yml | 1 -
.github/workflows/ciab.yaml | 1 -
.github/workflows/docs.yml | 1 -
.github/workflows/go.fmt.yml | 1 -
.github/workflows/go.lib.unit.tests.yml | 1 -
.github/workflows/go.vet.yml | 1 -
.github/workflows/grove.unit.tests.yml | 1 -
.github/workflows/health-client-tests.yml | 1 -
.github/workflows/license-file-coverage.yml | 1 -
.github/workflows/postinstall.tests.yml | 1 -
.github/workflows/tm.integration.tests.yml | 1 -
.github/workflows/tm.unit.tests.yml | 1 -
.github/workflows/to.api.contract.tests.yml | 1 -
.github/workflows/to.integration.tests.yml | 1 -
.github/workflows/to.unit.tests.yml | 1 -
.github/workflows/tp.integration.tests.yml | 1 -
.github/workflows/tpv2.yml | 1 -
.github/workflows/tr-ultimate-test-harness.yml | 1 -
.github/workflows/tr.tests.yaml | 1 -
.github/workflows/traffic-stats.unit.tests.yml | 1 -
.github/workflows/traffic.ops.database.yml | 1 -
.github/workflows/weasel.yml | 1 -
26 files changed, 24 insertions(+), 50 deletions(-)
diff --git a/.github/workflows/ansible.molecule.fo.yml
b/.github/workflows/ansible.molecule.fo.yml
index 2062125364..5cbbc94fcc 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 0fc529c1ce..c74e83a32f 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 f5ad388501..173504f766 100644
--- a/.github/workflows/cache-config-tests.yml
+++ b/.github/workflows/cache-config-tests.yml
@@ -47,7 +47,6 @@ on:
- 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 029033ce62..8aab4bd469 100644
--- a/.github/workflows/cache-config.unit.tests.yml
+++ b/.github/workflows/cache-config.unit.tests.yml
@@ -33,7 +33,6 @@ on:
- '!**_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 b20d903fb9..d4b2254267 100644
--- a/.github/workflows/check-go-modules.yml
+++ b/.github/workflows/check-go-modules.yml
@@ -26,7 +26,6 @@ on:
- 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 39c6bee04c..9a5d33e5cc 100644
--- a/.github/workflows/ciab.yaml
+++ b/.github/workflows/ciab.yaml
@@ -54,7 +54,6 @@ on:
- 'dev/**'
- 'Makefile'
- 'cache-config/Makefile'
- create:
pull_request:
paths-ignore:
- '*.*'
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index eb162e8567..3fcb4184ea 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 0965be3f1b..1a70e5904e 100644
--- a/.github/workflows/go.fmt.yml
+++ b/.github/workflows/go.fmt.yml
@@ -28,7 +28,6 @@ on:
- .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 df7274eb6b..05d7e0ae2e 100644
--- a/.github/workflows/go.lib.unit.tests.yml
+++ b/.github/workflows/go.lib.unit.tests.yml
@@ -33,7 +33,6 @@ on:
- '!**_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 c5023509df..961c217118 100644
--- a/.github/workflows/go.vet.yml
+++ b/.github/workflows/go.vet.yml
@@ -24,7 +24,6 @@ on:
- .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 66655b615f..69b453420c 100644
--- a/.github/workflows/grove.unit.tests.yml
+++ b/.github/workflows/grove.unit.tests.yml
@@ -33,7 +33,6 @@ on:
- '!**_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 b1662194fb..0be73952df 100644
--- a/.github/workflows/health-client-tests.yml
+++ b/.github/workflows/health-client-tests.yml
@@ -44,7 +44,6 @@ on:
- .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 64ead4d76c..4ce3843cb7 100644
--- a/.github/workflows/license-file-coverage.yml
+++ b/.github/workflows/license-file-coverage.yml
@@ -31,7 +31,6 @@ on:
- .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 82e095bc49..ec5735a134 100644
--- a/.github/workflows/postinstall.tests.yml
+++ b/.github/workflows/postinstall.tests.yml
@@ -23,7 +23,6 @@ on:
- .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 6b94c063ba..95dca7bfd2 100644
--- a/.github/workflows/tm.integration.tests.yml
+++ b/.github/workflows/tm.integration.tests.yml
@@ -29,7 +29,6 @@ on:
- 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 cbb124d71a..e3d7ecc2bf 100644
--- a/.github/workflows/tm.unit.tests.yml
+++ b/.github/workflows/tm.unit.tests.yml
@@ -33,7 +33,6 @@ on:
- '!**_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 a709289967..60194d9d98 100644
--- a/.github/workflows/to.api.contract.tests.yml
+++ b/.github/workflows/to.api.contract.tests.yml
@@ -32,7 +32,6 @@ on:
- 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 2be60a5f1c..e998c85983 100644
--- a/.github/workflows/to.integration.tests.yml
+++ b/.github/workflows/to.integration.tests.yml
@@ -37,7 +37,6 @@ on:
- 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 5a71024a9b..c7dfbe6f4d 100644
--- a/.github/workflows/to.unit.tests.yml
+++ b/.github/workflows/to.unit.tests.yml
@@ -33,7 +33,6 @@ on:
- '!**_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 17fb097fac..b1b520e723 100644
--- a/.github/workflows/tp.integration.tests.yml
+++ b/.github/workflows/tp.integration.tests.yml
@@ -36,7 +36,6 @@ on:
- 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 57c156abfe..3593a798b8 100644
--- a/.github/workflows/tpv2.yml
+++ b/.github/workflows/tpv2.yml
@@ -30,7 +30,6 @@ on:
- '!**_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 3a106a17b7..19441a8046 100644
--- a/.github/workflows/tr-ultimate-test-harness.yml
+++ b/.github/workflows/tr-ultimate-test-harness.yml
@@ -28,7 +28,6 @@ on:
- .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 b04a7b6443..dc0b08489d 100644
--- a/.github/workflows/tr.tests.yaml
+++ b/.github/workflows/tr.tests.yaml
@@ -34,7 +34,6 @@ on:
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 24a67564fc..5bfbe90988 100644
--- a/.github/workflows/traffic-stats.unit.tests.yml
+++ b/.github/workflows/traffic-stats.unit.tests.yml
@@ -33,7 +33,6 @@ on:
- '!**_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 758d61324b..e3c216e856 100644
--- a/.github/workflows/traffic.ops.database.yml
+++ b/.github/workflows/traffic.ops.database.yml
@@ -22,7 +22,6 @@ env:
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 be44c177c0..5fe4ec2c0d 100644
--- a/.github/workflows/weasel.yml
+++ b/.github/workflows/weasel.yml
@@ -19,7 +19,6 @@ name: Weasel License checks
on:
push:
- create:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]