Skip to content

Commit 8d259d1

Browse files
committed
Test with draft PR
1 parent b614540 commit 8d259d1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
name: "mariadb-operator"
2323
version: "test"
24-
fork-repo-name: "mariadb-operator/test-operators"
24+
fork-repo-name: "mariadb-operator/certified-operators"
2525
upstream-repo-name: "redhat-openshift-ecosystem/certified-operators"
2626
bundle-path-dir: "deploy/olm"
2727
ci-path-file: "deploy/olm/ci.yaml"

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)