Zum Inhalt springen
NEUMarktplatz und trig8n Agent: Verkaufen Sie, was Sie bauen, und erhalten Sie Pläne und Änderungen, die getestet sind, bevor Sie sie sehen. Neuigkeiten ansehen

Bibliothek / Code, Git & Entwicklertools

Code, Git & Entwicklertools

n8n-Workflows per Pull Requests auf GitHub sichern

Beim Start findet es neue und aktualisierte n8n-Workflows, committet sie auf GitHub, öffnet einen Pull Request und benachrichtigt Slack.

Was sie bewirkt

## 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

Die Schritte

  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

Insgesamt 22 Schritte.

Ähnliche Automatisierungen