backport of commit 4b15fb96b88d633db1ef294d7cc86483df060b2b (#21920)
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
This commit is contained in:
parent
5041048f4d
commit
17a6700f6c
|
@ -240,7 +240,9 @@ jobs:
|
|||
fi
|
||||
|
||||
# On a release branch, add a flag to rerun failed tests
|
||||
if [[ "${{ github.ref_name }}" = "release/*" ]]; then
|
||||
# shellcheck disable=SC2193 # can get false positive for this comparision
|
||||
if [[ "${{ github.base_ref }}" == release/* ]] || [[ -z "${{ github.base_ref }}" && "${{ github.ref_name }}" == release/* ]]
|
||||
then
|
||||
RERUN_FAILS="--rerun-fails"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue