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
- n8n
- Find new workflows
- Find updated workflows
- Wait for GitHub create/edit file finished
- Create new PR via GitHub API
- Define Local Variables
- Get all workflows on GitHub
- Get content for each workflow
- Base64decode workflow content
- Wait for finished
- If there are any changes in workflows
- No Operation, do nothing
- Create new branch via GitHub API
- Get latest commit SHA on main via GitHub API
Insgesamt 22 Schritte.
Ähnliche Automatisierungen
Code, Git & Entwicklertoolsn8n-Workflows aus gemergten GitHub-Pull-Requests wiederherstellen13 SchritteCode, Git & EntwicklertoolsGitHub-Pull-Requests mit OpenAI prüfen8 SchritteCode, Git & EntwicklertoolsGitHub-Pull-Requests mit OpenAI prüfen, in Sheets protokollieren20 SchritteCode, Git & Entwicklertoolsn8n-Workflows aus GitHub wiederherstellen13 Schritte