Skip to content

fix: separar branch aprovada e publicação na Maintenance - #6

Merged
jhvlima merged 1 commit into
mainfrom
fix/maintenance-branch-lifecycle
Aug 14, 2026
Merged

jhvlima merged 1 commit into
mainfrom
fix/maintenance-branch-lifecycle

Conversation

@jhvlima

@jhvlima jhvlima commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Resumo

  • compara o hash atual com a main aprovada
  • consulta a branch auxiliar para detectar revisão pendente ou conflito
  • impede commits duplicados e sobrescrita de PR pendente
  • recria a branch auxiliar quando ela tiver sido apagada
  • mantém atualização de referências com force=false
  • atualiza os templates n8n 1.121.2 e 2.28.6 e a documentação

Validação

  • node scripts/build-versioned-workflows.mjs --check
  • node scripts/validate-repository.mjs
  • git diff --check
  • simulação dos estados skipped, awaiting-review, review-conflict, mudança nova, branch ausente e needs-bootstrap

- Updated daily maintenance workflow to introduce baseBranch and publicationBranch parameters for better branch management.
- Added a new node to consult project.json in review, improving the workflow's ability to handle pending pull requests.
- Refactored JavaScript code for better clarity and functionality, including enhanced error handling and branch creation logic in the GitHub publisher.
- Updated documentation to reflect changes in input fields and workflow behavior, ensuring clarity on the new parameters and their usage.
- Improved commit handling in the GitHub publisher to support branch creation if missing and to ensure atomic commits.
@jhvlima
jhvlima merged commit 66f40d3 into main Aug 14, 2026
2 checks passed
@jhvlima
jhvlima deleted the fix/maintenance-branch-lifecycle branch August 14, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant