chore(triage): remove queue acknowledgement comment; defer user messaging to issue-comment workflow

This commit is contained in:
James Peter
2025-09-10 11:17:04 +10:00
parent ed6b4995a2
commit 5426a2ebc2
+2 -17
View File
@@ -542,20 +542,5 @@ jobs:
await github.rest.repos.createDispatchEvent({ owner, repo, event_type: 'issue-code', client_payload: { issue_number, slug } });
core.notice(`Queued issue-code for #${issue_number}`);
- name: Acknowledge queueing
if: steps.gate.outputs.allow_agent == 'true' && steps.gate.outputs.agent_mode == 'full'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.CODE_GH_PAT }}
script: |
const owner = context.repo.owner; const repo = context.repo.repo; const issue_number = Number(process.env.ISSUE_NUMBER);
const slug = `${{ steps.slug.outputs.slug }}`;
const body = [
`Thanks @${context.actor}! I queued an implementation run.`,
'',
'I will open a PR shortly; once the preview build finishes, you can try it with:',
'```bash',
`code preview ${slug}`,
'```'
].join('\n');
await github.rest.issues.createComment({ owner, repo, issue_number, body });
# Removed the explicit triage acknowledgement comment to centralize
# all user-facing updates under the Issue Comment workflow.