{{ message }}
Repository navigation
fix: workflows de snapshot usam create-pull-request (branch main protegida) - #896
Merged
Merged
Conversation
…egida) O push direto na main falha com GH006 (Protected branch update failed) desde a branch protection. O banks-headquarters-snapshot.yml falhava semanalmente; o pix-participants-snapshot.yml (entrou via #892) teria o mesmo problema no 1o agendamento com mudança de dados. Troca o bloco commit+push por peter-evans/create-pull-request@v6 com guard (exit 0 se sem diff) — o PR só abre quando o snapshot muda. Co-authored-by: Hermes Agent <noreply@nousresearch.com> Ai-tool: hermes Ai-model: deepseek-v4-flash Ai-os: wsl
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Os workflows de snapshot agendados faziam
git commit && git pushdireto namain, que tem branch protection desde 2026 → falham comGH006: Protected branch update failed.\n\n### Correção\n| Workflow | Status |\n|---|---|\n|banks-headquarters-snapshot.yml(#876) | já falhava semanalmente (10/08 e 17/08) |\n|pix-participants-snapshot.yml(#892) | falharia no 1º agendamento com mudança de dados |\n\n### Padrão aplicado\nBlococommit+push→peter-evans/create-pull-request@v6com guardexit 0quando não há diff staged:\n- Snapshot sem mudança → workflow fica silencioso\n- Snapshot com mudança → abre PR para o maintainer aprovar/mergear\n- Requisitos:permissions: contents: write+pull-requests: write