Skip to content

Commit 1417ceb

Browse files
committed
Test with draft PR
1 parent b614540 commit 1417ceb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,7 @@ runs:
8787
git add .
8888
git commit -m "operator ${{ inputs.name }}(${{ inputs.version }})" --signoff
8989
git push -f
90-
PR_CMD="gh pr create --repo '${{ inputs.upstream-repo-name }}' --title 'operator ${{ inputs.name }} (${{ inputs.version }})' --body 'Added operator ${{ inputs.name }} (${{ inputs.version }})'"
91-
if [ "${{ inputs.dry-run }}" == "true" ]; then
92-
PR_CMD="${PR_CMD} --dry-run"
93-
fi
90+
PR_CMD="gh pr create --draft --repo '${{ inputs.upstream-repo-name }}' --title 'operator ${{ inputs.name }} (${{ inputs.version }})' --body 'Added operator ${{ inputs.name }} (${{ inputs.version }})'"
9491
eval "${PR_CMD}"
9592
9693
echo "🚀 Switching back to root directory"

0 commit comments

Comments
 (0)