Skip to content

Commit f753c84

Browse files
AAraKKeKyle-Neale
andauthored
Fix ddev tests when running on release branches (#20151)
* Fix ddev tests when running on release branches * Add fetch-depth to CI validations * Remove flag to run Test Agent on any branch to allow CI validation to pass * Remove extra fetch-depth parameter in ddev * Remove unused flag from test-all.yaml * Update fetch master to do it always except on master --------- Co-authored-by: Kyle-Neale <kyle.neale@datadoghq.com>
1 parent 01547d3 commit f753c84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.ddev/ci/scripts/ddev/linux/55_fetch_master.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
set -ex
44

5-
# Only required on pull requests
6-
if [[ $GITHUB_BASE_REF ]]; then
5+
# Only required on non-master branches
6+
if [[ "$GITHUB_REF_NAME" != "master" ]]; then
77
git fetch origin master:master
88
fi
99

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:: Only required on pull requests
2-
if defined GITHUB_BASE_REF (
1+
:: Only required on non-master branches
2+
if "%GITHUB_REF_NAME%" NEQ "master" (
33
git fetch origin master:master
44
)

0 commit comments

Comments
 (0)