When a GitHub Actions job fails, Copilot Business and Copilot Enterprise subscribers can now ask Copilot cloud agent to fix it in one click.

Click the Fix with Copilot button on the workflow run logs page, and Copilot will investigate the failure, push a fix to your branch, and tag you for review when it’s done. It does all this from its own cloud-based development environment.

This means you can hand off simple but time-consuming work to Copilot (e.g., fixing tests or correcting linter failures) and stay focused on what you actually want to build.

If your organization hasn’t enabled Copilot cloud agent yet, an administrator will need to turn it on before you can start delegating to Copilot. To learn more, see our documentation about enabling cloud agent.

To learn more, see “Starting GitHub Copilot sessions” in the GitHub docs.