تخطَّ إلى المحتوى

ci

هذا المحتوى غير متوفر بلغتك بعد.

Continuous integration hooks: GitHub Actions and GitLab CI webhook receiver, build status reporting, PR check gates. Free: MIT licensed.

Terminal window
nself plugin install ci

Receives webhooks from GitHub Actions and GitLab CI pipelines, stores build status in Postgres, and exposes a status API. Supports PR check gates: your nSelf backend can block or approve pull requests based on custom logic tied to CI outcomes.

Use cases:

  • Store build history for audit and reporting
  • Trigger nSelf actions (notifications, deployments) on CI events
  • Gate PR merges on backend validation results
Env VarDefaultDescription
CI_WEBHOOK_SECRET(auto-generated)HMAC secret for validating GitHub/GitLab webhook payloads
CI_GITHUB_APP_IDnoneGitHub App ID for check run updates (optional)
CI_GITHUB_APP_KEYnoneGitHub App private key base64 (optional)

No fixed external port. The CI webhook receiver is proxied through Nginx.

2 tables added to your Postgres database:

  • np_ci_builds: build runs, status, and metadata
  • np_ci_checks: PR check gate results
MethodPathPurpose
POST/ci/webhook/githubGitHub Actions webhook receiver
POST/ci/webhook/gitlabGitLab CI webhook receiver