Skip to content

Commit 2a14f1c

Browse files
committed
Test with draft PR
1 parent b614540 commit 2a14f1c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
GITHUB_TOKEN: "${{ secrets.GHA_TOKEN }}"
2121
with:
2222
name: "mariadb-operator"
23-
version: "test"
24-
fork-repo-name: "mariadb-operator/test-operators"
23+
version: "v0.0.30"
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)