chore(ci): skip `auto-assign` job for bots
What changed, and why it matters
This is a minor GitHub workflow change that stops an automatic pull-request assignment job from running when the pull request is opened by a bot account (whose username ends with '[bot]'). It has no security relevance to the Trezor firmware itself or to user funds.
No security action needed. Treat as routine CI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies .github/workflows/bot-auto-assign.yml, adding a condition && !endsWith(github.event.pull_request.user.login, '[bot]') to the auto-assign job. This prevents the workflow from executing for bot-generated pull requests. The change is purely CI housekeeping and does not alter firmware code, build scripts, secrets handling, or permissions.
Changed components
.github/workflows/bot-auto-assign.ymlInspect captured patch +2 / −2
diff --git a/.github/workflows/bot-auto-assign.yml b/.github/workflows/bot-auto-assign.yml
index f7ae3521..3eff2549 100644
--- a/.github/workflows/bot-auto-assign.yml
+++ b/.github/workflows/bot-auto-assign.yml
@@ -9,8 +9,8 @@ permissions:
jobs:
auto-assign:
- # run only in 'trezor/trezor-firmware' repository
- if: github.repository == 'trezor/trezor-firmware'
+ # run only in 'trezor/trezor-firmware' repository, skipped for bots
+ if: github.repository == 'trezor/trezor-firmware' && !endsWith(github.event.pull_request.user.login, '[bot]')
runs-on: ubuntu-latest
steps:
- name: Assign PR author to PR
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.