mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-31 18:26:51 +00:00
The scheduled issue autofix workflow's Publish PR step fell back to the
default GITHUB_TOKEN because AUTOFIX_BOT_TOKEN was never configured.
GitHub blocks GITHUB_TOKEN from opening pull requests ("GitHub Actions
is not permitted to create or approve pull requests"), so the run failed
at the final step even though a fix had already been verified and the
branch pushed.
Use the qwen-code-ci-bot PAT (QWEN_CODE_BOT_TOKEN, falling back to
CI_BOT_PAT — the same secrets the issue follow-up bot uses) so the PR is
opened by qwen-code-ci-bot. As a real-account token it bypasses the
restriction and also triggers CI on the created PR, which GITHUB_TOKEN
would not. Add a guard that fails with a clear message when neither
secret is configured.
Co-authored-by: Qwen-Coder <noreply@alibabacloud.com>
|
||
|---|---|---|
| .. | ||
| actions/post-coverage-comment | ||
| ISSUE_TEMPLATE | ||
| scripts | ||
| workflows | ||
| dependabot.yml | ||
| pull_request_template.md | ||
| release.yml | ||