İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Kod, Git ve Geliştirici Araçları

Kod, Git ve Geliştirici Araçları

n8n İş Akışlarını Pull Request'lerle GitHub'a Yedekleme

Çalıştırdığınızda yeni ve güncellenen n8n iş akışlarını bulur, GitHub'a commit eder, bir pull request açar ve Slack'i bilgilendirir.

Ne yapar

## Setup 1. GitHub credentials: Add your GitHub API credentials in n8n. 2. Slack integration: Connect your Slack Bot token if you want PR notifications. 3. Repository details: Update github_owner, repo_name, and workflow directory path in the “Define Local Variables” node. 4. n8n API key - Check this doc

Adımlar

  1. n8n
  2. Find new workflows
  3. Find updated workflows
  4. Wait for GitHub create/edit file finished
  5. Create new PR via GitHub API
  6. Define Local Variables
  7. Get all workflows on GitHub
  8. Get content for each workflow
  9. Base64decode workflow content
  10. Wait for finished
  11. If there are any changes in workflows
  12. No Operation, do nothing
  13. Create new branch via GitHub API
  14. Get latest commit SHA on main via GitHub API

Toplam 22 adım.

Benzer otomasyonlar