You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add intelligent bot user detection for conditional pipeline triggering
- Add gitlab_user_login field to CiContext to capture GITLAB_USER_LOGIN
- Add is_bot_user() function to detect project/group access token bots
- Update trigger_pipeline() to only manually trigger for bot users
- Human users get automatic pipeline triggering, bots get manual triggering
- Improves efficiency while maintaining compatibility with group/project tokens
Bot patterns detected:
- project_{id}_bot{suffix} (project access tokens)
- group_{id}_bot_{hash} (group access tokens)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments