Skip to content

Commit 6dc5f1b

Browse files
committed
fix: this doesn't need to be a draft
1 parent 78972bb commit 6dc5f1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/auto-issue-triage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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'))

0 commit comments

Comments
 (0)