Skip to content

Assign Copilot to issues created by scheduled test failure job#40

Merged
csett86 merged 2 commits intomainfrom
copilot/assign-create-issue-on-failure
Mar 10, 2026
Merged

Assign Copilot to issues created by scheduled test failure job#40
csett86 merged 2 commits intomainfrom
copilot/assign-create-issue-on-failure

Conversation

Copy link

Copilot AI commented Mar 10, 2026

The create-issue-on-failure job creates GitHub issues when the monthly scheduled CI run fails, but issues were not assigned to anyone for follow-up.

Changes

  • .github/workflows/tests.yml: Added assignees: ['Copilot'] to the github.rest.issues.create call so newly created failure issues are automatically assigned to GitHub Copilot.
await github.rest.issues.create({
  owner: context.repo.owner,
  repo: context.repo.repo,
  title: title,
  body: body,
  labels: ['automated-test-failure'],
  assignees: ['Copilot']   // ← added
});

Note: existing-issue comments (when a failure issue is already open) are unaffected — only new issue creation gains the assignee.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Copilot AI changed the title [WIP] Assign create-issue-on-failure issues to Copilot Assign Copilot to issues created by scheduled test failure job Mar 10, 2026
@github-actions
Copy link

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://csett86.github.io/graphite-render/pr-preview/pr-40/

Built to branch gh-pages at 2026-03-10 21:25 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@csett86 csett86 marked this pull request as ready for review March 10, 2026 21:25
@csett86 csett86 merged commit bc7f28f into main Mar 10, 2026
12 checks passed
@csett86 csett86 deleted the copilot/assign-create-issue-on-failure branch March 10, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants