Skip to content

Commit d1a040c

Browse files
committed
changes did for workflow1
1 parent 829d381 commit d1a040c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,8 @@ jobs:
379379
elif [[ "$wfe_run_on_splunk_latest" == "true" ]]; then
380380
wfe_run_on_splunk_latest="true"
381381
else
382-
if [[ "${{ github.base_ref }}" == "main" || "${{ github.ref_name }}" == "main" ]]; then
383-
wfe_run_on_splunk_latest="false"
384-
elif [[ ("${{ github.base_ref }}" == "develop" || "${{ github.ref_name }}" == "develop") \
382+
if [[ "${{ github.base_ref }}" == "main" || "${{ github.ref_name }}" == "main" ]] || \
383+
[[ ( "${{ github.base_ref }}" == "develop" || "${{ github.ref_name }}" == "develop" ) \
385384
&& "${{ github.event_name }}" == "push" ]]; then
386385
wfe_run_on_splunk_latest="false"
387386
else

0 commit comments

Comments
 (0)