Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N8N-13 Add workflow to automate n8n updates #144

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

MaSpeng
Copy link
Contributor

@MaSpeng MaSpeng commented Jun 17, 2024

This pull request will add a workflow that nearly automates the update of n8n.

Whenever a pull request titled "chore: bump n8n from ..." has been opened, this workflow will be executed. It will determine which Node.js version the target n8n uses within its docker image and update the devcontainer.json accordingly. It will update the @types/node dependency to match the requested Node.js version as closely as possible. It will update the n8n child dependencies n8n-nodes-base and n8n-workflow in the root dependencies and the custom n8n nodes as well.

The only thing which needs to be done manually, is the GitHub workflows, as there is no possibility to grant the right to write to workflows using the GitHub token provided by the automation. To simplify this, the workflow will request changes to the pull request and add a comment with all workflow files where the Node.js version does not match the requested one.

@MaSpeng MaSpeng force-pushed the N8N-13-automate-n8n-updates branch 6 times, most recently from 0388a86 to db0c65c Compare June 21, 2024 10:54
@MaSpeng MaSpeng marked this pull request as ready for review June 24, 2024 05:19
@MaSpeng MaSpeng requested a review from schroedan June 24, 2024 05:19
@MaSpeng MaSpeng force-pushed the N8N-13-automate-n8n-updates branch from db0c65c to 57fb0dd Compare June 25, 2024 08:45
@schroedan schroedan self-assigned this Jun 27, 2024
@MaSpeng MaSpeng force-pushed the N8N-13-automate-n8n-updates branch from 57fb0dd to f9dce52 Compare June 28, 2024 09:26
@MaSpeng MaSpeng force-pushed the N8N-13-automate-n8n-updates branch from f9dce52 to cc79aba Compare June 28, 2024 09:57
@MaSpeng MaSpeng force-pushed the N8N-13-automate-n8n-updates branch from cc79aba to 5850bf0 Compare July 1, 2024 06:19
@MaSpeng MaSpeng requested a review from schroedan July 1, 2024 06:19
@MaSpeng MaSpeng force-pushed the N8N-13-automate-n8n-updates branch from 5850bf0 to 19e60e8 Compare July 1, 2024 06:20
@schroedan schroedan merged commit af6e9c7 into main Jul 1, 2024
5 checks passed
@schroedan schroedan deleted the N8N-13-automate-n8n-updates branch July 1, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants