File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -197,11 +197,7 @@ jobs:
197197 --body-file /tmp/pr-body.md)
198198
199199 echo "Pull request created: $PR_URL"
200- echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT
201-
202- # Extract PR number from URL
203- PR_NUMBER=$(echo "$PR_URL" | grep -oP '\d+$')
204- echo "pr_number=$PR_NUMBER" >> $GITHUB_OUTPUT
200+ echo "PR_URL=$PR_URL" >> $GITHUB_ENV
205201
206202 - name : Upload bundle artifact
207203 uses : actions/upload-artifact@v4
@@ -222,7 +218,7 @@ jobs:
222218 echo "- **Operator Image**: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.OPERATOR_IMAGE_NAME }}:v${{ env.VERSION }}" >> $GITHUB_STEP_SUMMARY
223219
224220 if [ "${{ github.event.inputs.create_pr }}" = "true" ]; then
225- echo "- **Status**: PR created to OperatorHub - ${{ env.pr_url }}" >> $GITHUB_STEP_SUMMARY
221+ echo "- **Status**: PR created to OperatorHub - ${{ env.PR_URL }}" >> $GITHUB_STEP_SUMMARY
226222 else
227223 echo "- **Status**: Bundle generated (PR creation disabled)" >> $GITHUB_STEP_SUMMARY
228224 fi
You can’t perform that action at this time.
0 commit comments