Skip to content

feat(provider): add GitHub Actions Workflows provider#5689

Open
brendanlim wants to merge 2 commits intokeephq:mainfrom
brendanlim:feat/github-workflows-provider
Open

feat(provider): add GitHub Actions Workflows provider#5689
brendanlim wants to merge 2 commits intokeephq:mainfrom
brendanlim:feat/github-workflows-provider

Conversation

@brendanlim
Copy link

@brendanlim brendanlim commented Feb 27, 2026

Summary

Completes the GitHub Actions Workflows provider that was stubbed out but blacklisted. The provider now fully monitors workflow runs and creates alerts when workflows fail, time out, get cancelled, or require action.

What changed

  • Rewrote github_workflows_provider.py with full alert pulling support via _get_alerts()
  • Added severity mapping (failure→CRITICAL, timed_out→HIGH, cancelled→LOW, action_required→WARNING)
  • Added status mapping (failure/timed_out→FIRING, success→RESOLVED)
  • Added fingerprinting for dedup: {repo}:{workflow_id}:{run_number}
  • Support for multiple repositories (comma-separated config)
  • GitHub Enterprise Server support via configurable base URL
  • Scope validation via API test call
  • Removed from providers blacklist
  • Added full documentation

How to test

  1. Create a GitHub PAT with actions:read + repo scopes
  2. Add the GitHub Workflows provider in Keep
  3. Configure with your repositories
  4. Provider will pull failed workflow runs as alerts

Closes #4753

/claim #4753

Adds a new provider to monitor GitHub Actions workflow runs.
Polls for failed/timed out workflows and creates alerts in Keep.
Supports GitHub Enterprise Server via configurable base URL.

Closes keephq#4753
@vercel
Copy link

vercel bot commented Feb 27, 2026

@brendanlim is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 27, 2026
@CLAassistant
Copy link

CLAassistant commented Feb 27, 2026

CLA assistant check
All committers have signed the CLA.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 27, 2026

Target branch is not in the allowed branches list.

@dosubot dosubot bot added Documentation Improvements or additions to documentation Feature A new feature labels Feb 27, 2026
@vercel
Copy link

vercel bot commented Mar 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
keep Ignored Ignored Preview Mar 1, 2026 1:38pm

Request Review

@shahargl
Copy link
Member

shahargl commented Mar 2, 2026

we don't have bounty program anymore - is this relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim Documentation Improvements or additions to documentation Feature A new feature size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🔌 Provider]: Github Actions Workflows

3 participants