Skip to main content
To use these features, you must first connect GitHub to Rootly. See GitHub Installation.

Workflow Actions

These actions are available in Incident Workflows and Alert Workflows.

Create a GitHub Issue

Creates a new issue in the specified GitHub repository and links it to the Rootly incident or action item.
FieldDescriptionRequired
RepositoryThe GitHub repository where the issue will be created (e.g. org/repo)Yes
TitleIssue title. Supports Liquid templating (e.g. {{ incident.title }})Yes
BodyIssue body/description. Supports Liquid templatingNo
LabelsComma-separated list of label names to apply to the issueNo
Issue TypeThe type of issue to create (e.g. Bug, Feature, Task)No
Parent Issue NumberIssue number of the parent issue. Use this to create a sub-issueNo

Update a GitHub Issue

Updates an existing GitHub issue linked to the incident or action item.
FieldDescriptionRequired
Issue IDThe ID of the GitHub issue to update. Use the stored ID from a prior Create Issue actionYes
TitleNew title for the issue. Supports Liquid templatingNo
BodyNew body/description. Supports Liquid templatingNo
LabelsComma-separated list of label names to applyNo
Issue TypeUpdated issue typeNo
CompletionSet to Auto to mirror the incident or action item status. Closes the issue when the incident resolves or the action item is marked doneNo
When Completion is set to Auto, Rootly will automatically close the GitHub issue when the linked incident is resolved or the linked action item is completed.

Get Commits

Fetches recent commits from one or more GitHub repositories and optionally posts them to the incident timeline or a Slack channel.
FieldDescriptionRequired
Services Impacted by IncidentWhen enabled (default), automatically queries the GitHub repositories linked to the services impacted by the incident. Disable this to specify repositories manuallyNo
Service IDsRootly service IDs whose linked GitHub repositories will be queried. Required when Services Impacted by Incident is disabled and Repository Names is not setConditional
Repository NamesExplicit list of GitHub repository names to query (e.g. org/repo). Required when Services Impacted by Incident is disabled and Service IDs is not setConditional
BranchThe branch to fetch commits from. Defaults to masterNo
Past DurationHow far back to look for commits (e.g. 1h, 30m)No
Post to Incident TimelineWhen enabled, appends fetched commits as an event in the incident timelineNo
Post to Slack ChannelsSlack channel names to post the commit list toNo
When Services Impacted by Incident is disabled, either Service IDs or Repository Names must be provided. Each service used must have a GitHub repository configured in its settings.
When an engineer pastes a GitHub PR URL into the incident’s Slack channel, Rootly automatically:
  1. Detects the PR link and attaches it to the incident
  2. Tracks the PR status (open, approved, merged) in real time
  3. Posts status updates in Slack as the PR progresses
  4. Adds each status change as an event in the incident timeline

Inbound Events (Pulses)

Rootly receives GitHub webhook events and stores them as pulses — timestamped signals you can correlate with incidents.

Supported Events

EventTrigger
PushAny push to any repository branch
Pull Request: OpenedA new pull request is opened
Pull Request: ClosedA pull request is closed without merging
Pull Request: MergedA pull request is merged
Pull Request: ApprovedA pull request review approval is submitted
IssuesA GitHub issue is opened, closed, or edited

Pulse Labels

Each pulse includes the following labels for filtering and routing:
LabelDescriptionEvents
actionEvent action (e.g. push, pr_merged)All
repositoryRepository name where the event originatedAll
refBranch or tag ref (e.g. refs/heads/main)Push, Pull Request
baseTarget branch of the pull requestPull Request (merged)
merged_byGitHub login of the user who merged the PRPull Request (merged)

Secret Scanning

GitHub scans public repositories for known secret patterns, including Rootly API tokens. Rootly has partnered with GitHub’s secret scanning program. When a Rootly token is detected in a public repository, GitHub notifies Rootly, which then alerts workspace owners and allows them to revoke the token within seconds. GitHub Advanced Security customers can additionally enable push protection to block Rootly tokens from entering repositories at push time.

Troubleshooting

  • Confirm the repository name is in org/repo format
  • Verify the connected GitHub account has write access to the target repository
  • Check that the rootlyhq GitHub App is still installed and has access to the repository
  • Confirm the branch name is correct and exists in the repository
  • Check that the Past Duration window is wide enough to include recent commits
  • When using Service IDs, verify each service has a GitHub repository configured in its settings
  • The incident must have an active Slack channel
  • The PR URL must be pasted directly in the incident Slack channel (not a thread)
  • Confirm the GitHub App has Read access to pull requests
  • Navigate to the Rootly integrations page and verify the GitHub connection is active
  • Re-authenticate if the OAuth token has expired
  • Confirm the rootlyhq GitHub App is installed and the webhook is active in your GitHub organization settings