Skip to content

Commit acf0d2d

Browse files
committed
tillegg: baseref
1 parent e0c91c7 commit acf0d2d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/actions/ciValidate/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ inputs:
1010
ref:
1111
description: The head ref of the branch that is proposed to be merged
1212
required: false
13+
baseRef:
14+
description: The sha/ref to the base commit against which this ref will be merged into
15+
required: false
1316
deleteScratch:
1417
description: Delete scratch org after validation
1518
required: false
@@ -40,6 +43,10 @@ runs:
4043
command+=" --ref ${{ inputs.ref }}"
4144
fi
4245
46+
if [ "${{ inputs.baseRef }}" ]; then
47+
command+=" --baseRef ${{ inputs.baseRef }}"
48+
fi
49+
4350
if [ "${{ inputs.deleteScratch }}" ];
4451
then
4552
command+=" --deletescratchorg"

0 commit comments

Comments
 (0)