fix: restore workflow_run trigger + use GH_PAT for PR creation#91
Merged
rviannaoliveira merged 2 commits intomainfrom Mar 29, 2026
Merged
fix: restore workflow_run trigger + use GH_PAT for PR creation#91rviannaoliveira merged 2 commits intomainfrom
rviannaoliveira merged 2 commits intomainfrom
Conversation
- Remove workflow_run trigger (no longer runs automatically on PRs) - Keep only workflow_dispatch for manual execution via Actions UI - Replace GITHUB_TOKEN with GH_PAT to allow PR creation - Use timestamp-based branch name (no longer tied to PR number) - Simplify job condition (no bot check needed) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Keep automatic trigger via workflow_run (runs after CI passes on PRs) - Keep manual trigger via workflow_dispatch - Replace GITHUB_TOKEN with GH_PAT to allow opening PRs from Actions - Use git add --force to correctly stage new test directories - Use find instead of git status to detect generated test files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
O que muda
workflow_run(roda após o CI passar em qualquer PR)workflow_dispatchGITHUB_TOKENporGH_PAT— corrige o erro de permissão ao abrir PRsgit add --forcepara garantir que o diretóriosrc/test/seja staged corretamentefindao invés degit statuspara detectar os arquivos geradosPré-requisito
Adicionar o secret
GH_PATno repositório (Personal Access Token com escoporepo).🤖 Generated with Claude Code