Skip to main content

Run Tasks from GitHub Issues

Bosun can now trigger tasks directly from GitHub issues. Mention the Bosun GitHub App in an issue comment and choose the action you want to run—the platform takes care of the rest.

Prerequisites

  • The Bosun GitHub App is installed on your organization and the repository you want to automate.
  • You have write access to the repository. Commands from users without write access are ignored for safety.

Supported Commands

Start a comment with @bosun-ai followed by one of the commands below:

  • fix — run the built-in fix_github_issue task. Bosun pulls the issue details, lets an agent address the problem, and opens a pull request referencing the issue.
  • triage — run the triage_github_issue task. Bosun reviews the issue, adds guidance for maintainers, and comments back with its findings.
  • run <task-name> — run any saved Bosun task from your organization, using the issue number as the github_issue_number input.

Tips

  • The automation only runs when the comment was freshly created. Editing an existing comment will not retrigger a task.
  • Include the task name exactly as it appears in Bosun when using the run command.
  • Combine this workflow with issue templates so contributors know when a Bosun automation is available.