Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

The workflow unconditionally posted "Ready for merge" comments on all PRs, even when ethical simulations failed.

Changes

  • Added steps.simulate.outcome == 'success' condition to the "Comment on PR" step in .github/workflows/coding-agent.yml
- name: Comment on PR
  if: github.event_name == 'pull_request' && steps.simulate.outcome == 'success'
  uses: actions/github-script@v7

The workflow now only posts success comments when the simulation step completes successfully.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI mentioned this pull request Jan 16, 2026
Copilot AI changed the title [WIP] Update to address feedback from PR #24 Fix workflow to only post success comment when simulation passes Jan 16, 2026
Copilot AI requested a review from toolate28 January 16, 2026 21:13
Co-authored-by: toolate28 <105518313+toolate28@users.noreply.github.com>
@toolate28 toolate28 force-pushed the copilot/sub-pr-24-98f381fd-de32-439e-a71f-7eaf202ef724 branch from 3af9746 to fd63e81 Compare January 17, 2026 00:26
@toolate28 toolate28 marked this pull request as ready for review January 17, 2026 00:26
Copilot AI review requested due to automatic review settings January 17, 2026 00:26
@toolate28 toolate28 merged commit 667535d into copilot/sub-pr-8-again Jan 17, 2026
1 check passed
@toolate28 toolate28 deleted the copilot/sub-pr-24-98f381fd-de32-439e-a71f-7eaf202ef724 branch January 17, 2026 00:26
@github-actions
Copy link

🌀 Agent Review: Coherence >60%. Ethical quantum sims validated. Ready for merge.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens the workflow behavior so that "Ready for merge" comments are only posted when the ethical simulation step has actually succeeded on pull requests.

Changes:

  • Updated the "Comment on PR" step in .github/workflows/coding-agent.yml to add a condition on steps.simulate.outcome == 'success' in addition to checking for pull_request events.
  • Ensures failure (or non-success) outcomes in the simulation step prevent the success comment from being posted.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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