File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ jobs:
157157 git push origin "$BRANCH_NAME"
158158 echo "branch=$BRANCH_NAME" >> "$GITHUB_OUTPUT"
159159
160- - name : Create draft PR and comment on issue
160+ - name : Create PR and comment on issue
161161 if : steps.push.outputs.branch != ''
162162 id : pr
163163 continue-on-error : true
@@ -192,7 +192,7 @@ jobs:
192192 ].join('\n'),
193193 head: branch,
194194 base: 'main',
195- draft: true ,
195+ draft: false ,
196196 });
197197
198198 // Comment on the issue with the PR link
@@ -203,13 +203,13 @@ jobs:
203203 body: [
204204 `I've analyzed this bug report and created an automated fix:`,
205205 ``,
206- `**Draft PR:** ${pr.data.html_url}`,
206+ `**PR:** ${pr.data.html_url}`,
207207 ``,
208208 `Please review the changes — this was generated automatically and may need adjustments.`,
209209 ].join('\n'),
210210 });
211211
212- core.info(`Created draft PR #${pr.data.number}: ${pr.data.html_url}`);
212+ core.info(`Created PR #${pr.data.number}: ${pr.data.html_url}`);
213213
214214 - name : Notify issue on failure
215215 if : failure() || (steps.result.outputs.action == 'fixed' && steps.changes.outputs.has_changes == 'true' && (steps.push.outcome == 'failure' || steps.pr.outcome == 'failure'))
You can’t perform that action at this time.
0 commit comments