InfraNestInfraNest

GitHub

Automate with GitHub

Build rules that react to GitHub activity and act back on GitHub β€” no scripts, no glue code.

Automate with GitHub lets you build rules that react to activity in your GitHub repositories and take action back on GitHub β€” no scripts or code required. It's for anyone managing infrastructure who wants issues, deployments, and workflows to stay in sync automatically.

Overview

  • Rules watch for GitHub events (like a failed workflow or a new pull request) and trigger actions automatically.
  • You can create GitHub issues, comment on them, trigger workflows, merge pull requests, and more β€” all from InfraNest.
  • Everything is set up visually in the automation builder, using the GitHub group of triggers and actions.

Before you start

  1. Go to Integrations and select Connect GitHub to link your account.
  2. Once connected, GitHub triggers and actions appear together under the GitHub group when you build an automation.

NoteIf you pick a GitHub trigger before connecting, InfraNest will remind you to connect first.

React to GitHub activity

  1. In the automation builder, start a new rule under When this happens.
  2. Choose a GitHub trigger, such as GitHub workflow run, GitHub issue, GitHub issue comment, GitHub push, GitHub branch/tag created, GitHub branch/tag deleted, GitHub pull request, GitHub PR review, GitHub release, GitHub deployment, GitHub deployment status, GitHub commit status, or GitHub check run / GitHub check suite.
  3. Add Only if filters to narrow down the trigger β€” for example, only for a specific Repository (owner/repo), only for the main Branch or tag, only for failures, or only for your Organization rather than a personal account.
  4. As you type in the repository or account fields, InfraNest suggests your connected repositories and accounts.

Automate with GitHub

Act on GitHub

  1. Under Do this, select Add action.
  2. Choose a GitHub action to run. For workflows: Trigger GitHub workflow, Re-run GitHub workflow, Re-run failed jobs, or Cancel GitHub run.
  3. For issues: Create GitHub issue, Comment on GitHub issue, Update GitHub issue, Close GitHub issue, Reopen GitHub issue, Add issue labels, Remove issue label, or Assign GitHub issue.
  4. For pull requests: Merge pull request, or Request PR review (choose people or a Teams entry).
  5. For deployments: Create GitHub deployment, then Set deployment status.
  6. For releases: Create GitHub release.
  7. For commits: Set commit status to mark success, failure or pending.
  8. Fill in fields like Repository (owner/repo), Workflow file or id, Target branch, Environment, Labels (comma-separated), Assignees (comma-separated), and Teams β€” these offer a searchable list from your connected GitHub, or you can type a value or insert a placeholder from the trigger.

Automate with GitHub

Examples

  • SSL renewal failed β†’ Create GitHub issue, label it infrastructure, and use Assign GitHub issue to assign your DevOps team.
  • A monitor recovered β†’ Comment on GitHub issue and then Close GitHub issue.
  • A pull request merged into main β†’ Run GitHub workflow to deploy, then Set deployment status.
  • Your production health check passed β†’ Set commit status to success.
  • A release was published β†’ Post status-page announcement.

Tips

TipWhen one step creates something β€” like an issue or a deployment β€” later steps in the same rule can automatically reuse it, so you don't have to re-enter the details.

Troubleshooting

  • A GitHub trigger never fires: Make sure GitHub is connected and that the installed app is subscribed to that kind of event. Ask your administrator to check the app's event subscriptions.
  • Can't request a review from a team: Requesting review from a Teams entry requires an Organization connection, not a personal account.
  • An action is missing or greyed out: Some actions require a higher plan β€” these show a Pro badge in the builder.

Related articles

Start in seconds

Bring your whole infrastructure into one modern dashboard.

Free plan Β· No credit card required Β· Set up in minutes