Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/workflows/ci-issue-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,42 +76,9 @@ jobs:
if (active !== 'status/in-progress') {
await setStatus('status/in-progress');
}

const failedNames = failing.map((r) => `- ${r.name} (${r.conclusion || 'unknown'})`).join('\n');
await github.rest.issues.createComment({
owner,
repo,
issue_number,
body: [
'Gate check failed: CI checks are not green. Status set to status/in-progress.',
'',
'Failed checks:',
failedNames,
'',
`PR: #${pr.number}`,
`Head SHA: ${pr.head.sha}`,
'',
'Next:',
"- Re-invoke Copilot 'develop' Agent with the failure output and prior retrospective context.",
'- Keep PR in draft until CI is green and review prerequisites are satisfied.',
].join('\n'),
});
return;
}

if (pr.draft && active === 'status/in-progress') {
await setStatus('status/review');
await github.rest.issues.createComment({
owner,
repo,
issue_number,
body: [
'Review kickoff: CI checks are green on the draft PR. Status moved to status/review.',
'',
'Next:',
"- Invoke Copilot 'review' Agent and confirm PASS.",
'- Keep PR as draft until Gate 2 prerequisites are satisfied.',
'- After PASS, convert PR to ready-for-review and proceed to Gate 2 merge approval.',
].join('\n'),
});
}
30 changes: 0 additions & 30 deletions .github/workflows/issue-native-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ jobs:
});
}

await github.rest.issues.createComment({
owner,
repo,
issue_number: issue.number,
body: `Issue is ready. Branch ready: ${branch}. Assign to Copilot 'develop' Agent to begin work.`
});

- name: Move to in-progress when Copilot is assigned on ready issue
if: github.event.action == 'assigned'
uses: actions/github-script@v7
Expand Down Expand Up @@ -94,23 +87,6 @@ jobs:
labels: ['status/in-progress'],
});

await github.rest.issues.createComment({
owner,
repo,
issue_number: issue.number,
body: [
'Implementation kickoff:',
'',
`> **IMPORTANT — branch:** Preferred path is branch \`issue/${issue.number}\` (already created).`,
'> If your branch is not `issue/{number}` (for example `copilot/...`), include a valid issue-closing reference in the PR title/body (for example: `Closes #' + issue.number + '`, `Fixes #' + issue.number + '`, or `Resolves #' + issue.number + '`).',
'> Copilot `develop` agent is now the implementation worker for this issue.',
'',
'- Run TDD agent per independently testable task',
'- Keep docs updated in docs/',
'- Open PR from `issue/' + issue.number + '` to `main` when tasks are complete',
].join('\n'),
});

comment-commands:
if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/auto ')
runs-on: ubuntu-latest
Expand Down Expand Up @@ -176,10 +152,4 @@ jobs:
issue_number: issue.number,
labels: ['status/ready'],
});
await github.rest.issues.createComment({
owner,
repo,
issue_number: issue.number,
body: `Gate 1 approved by @${actor}. Status moved to status/ready. Next step: assign to Copilot 'develop' Agent to begin work.`,
});
}
Loading