-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): adicionar gpt-engineer-app[bot] à whitelist do Branch Protection Sentinel #1
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ jobs: | |
| # Padroes aceitos: | ||
| # 1. Squash merge: termina em "(#NNN)" | ||
| # 2. Merge commit: comeca com "Merge pull request #NNN" | ||
| # 3. Bot oficial: github-actions[bot], dependabot[bot], lovable-dev[bot] | ||
| # 3. Bot oficial: github-actions[bot], dependabot[bot], lovable-dev[bot], gpt-engineer-app[bot] | ||
| # 4. Tag de release: comeca com "chore(release):" | ||
|
|
||
| if echo "$MSG" | head -1 | grep -qE '\(#[0-9]+\)$'; then | ||
|
|
@@ -45,7 +45,7 @@ jobs: | |
| fi | ||
|
|
||
| case "$AUTHOR" in | ||
| "github-actions[bot]"|"dependabot[bot]"|"lovable-dev[bot]"|"renovate[bot]") | ||
| "github-actions[bot]"|"dependabot[bot]"|"lovable-dev[bot]"|"gpt-engineer-app[bot]"|"renovate[bot]") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verificar existência do bot gpt-engineer-app no GitHub e commits recentes dele no repo
echo "=== Verificando histórico de commits do bot ==="
git log --all --author="gpt-engineer-app\[bot\]" --oneline | head -20
echo ""
echo "=== Verificando settings de branch protection ==="
echo "Checar manualmente em: https://github.com/${{ github.repository }}/settings/branch_rules"
echo "Deve exigir PR reviews antes de merge em main."Repository: adm01-debug/we-dream-big Length of output: 705 🌐 Web query:
💡 Result: The commercial web platform formerly known as gptengineer.app has been officially rebranded as Lovable [1][2]. This rebranding was implemented to eliminate confusion between the commercial platform and the original open-source command-line tool, which continues to exist under the name gpt-engineer [1][3]. While the platform has transitioned to the Lovable brand, the underlying service remains the same, and users can access their projects via both the original gptengineer.run domain and the new lovable.app domain [1]. The open-source gpt-engineer project remains an independent entity on GitHub [1][4]. Citations:
🌐 Web query:
💡 Result: There is no official "gpt-engineer-app" GitHub bot or application available in the GitHub Marketplace [1]. The term "gptengineer.app" refers to a commercial, managed web application platform for AI-driven web app generation [2][3][4]. While this platform integrates with GitHub—allowing users to sync projects, commit changes automatically to repositories, and deploy web applications—it does not function as a standalone "GitHub bot" or official GitHub App that you install from the Marketplace [5][6][3]. Key distinctions to note: 1. GPT Engineer (Open Source): This is the original open-source CLI project [7][4]. It is a tool for experimenting with code generation and is not a managed service [4]. 2. gptengineer.app (Commercial Service): This is a separate, opinionated, managed service built by a team that supports the open-source project [2][3][4]. It provides a web-based UI for non-technical users to build and deploy apps [2][3]. When you use this service, it can interact with your GitHub account to manage code repositories, but this is a feature of the platform's workflow rather than an installed GitHub bot [5][6]. If you encounter repositories or tools claiming to be an "official" gpt-engineer GitHub bot, they are likely community-created projects or unrelated third-party tools, as the official gptengineer.app service operates primarily through its own web interface [5][3]. Citations:
🌐 Web query:
💡 Result: The Lovable GitHub App’s official app identity/bot username is lovable-dev[bot]. [1][2] Lovable’s official documentation states that commits made by the Lovable GitHub app identity are authored as “lovable-dev[bot]” on GitHub.com (and GitHub Enterprise Cloud). [1] The GitHub Apps listing for the Lovable integration also corresponds to the “lovable-dev” GitHub App. [2] Citations:
🏁 Script executed: # Verificar commits recentes de ambos os bots para entender quem está ativo agora
echo "=== Últimos 5 commits por lovable-dev[bot] ==="
git log --all --author="lovable-dev\[bot\]" --oneline | head -5
echo ""
echo "=== Últimos 5 commits por gpt-engineer-app[bot] ==="
git log --all --author="gpt-engineer-app\[bot\]" --oneline | head -5
echo ""
echo "=== Verificar se há alguma issue/PR discutindo a mudança ==="
git log --all --grep="gpt-engineer-app\|lovable-dev" --oneline | head -10Repository: adm01-debug/we-dream-big Length of output: 386 Remove A web search confirma que Achado crítico: seu repo mostra commits recentes de
Adicionar um bot não verificado a uma whitelist de segurança (branch protection) é risco desnecessário, mesmo com branch protection ativo. Confirme com o time de Lovable qual é o username correto do bot em 2025 antes de fazer o merge. Se a mudança de nome foi oficial, atualize a documentação no Lovable também. 🤖 Prompt for AI Agents |
||
| echo "OK: bot oficial ($AUTHOR)" >> $GITHUB_STEP_SUMMARY | ||
| exit 0 | ||
| ;; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistência:
renovate[bot]está no código mas não na documentação.O comentário lista os bots oficiais, mas
renovate[bot](presente na linha 48) não aparece aqui. Isso pode confundir futuros mantenedores.📝 Correção sugerida para sincronizar a documentação
📝 Committable suggestion
🤖 Prompt for AI Agents