Commit daddf77
authored
fix(ci): skip auto-assign for Dependabot bot users (#15)
* test(tenant): update all existing tests for multi-tenancy support
Add tenant_id to all factory creations across unit and feature tests.
Replace local createAuth/setupProject helpers with global Pest helpers.
Fix CL17 stranger to share tenant with owner. Update MigrationTest unique
index assertions to reflect composite (tenant_id, code/identifier) indexes.
Set TenantManager in test setups that mix factory creates with HTTP calls
to prevent UNIQUE constraint violations on artifact sequence numbers.
* feat(tenant): add multi-tenancy support
- Add Tenant model, factory, and management commands (create, list, enable, disable, delete)
- Add BelongsToTenant concern and TenantManager service
- Add EnsureTenantActive middleware
- Add tenant migrations (tenants table, tenant_id columns, unique constraints, superadmins)
- Rename role to position in project_members table
- Update existing models, controllers, and commands for tenant scoping
- Update tests for multi-tenancy compatibility
* fix(phpstan): remove unnecessary nullsafe on tenant->slug in UserListCommand
* fix(ci): add write permissions to auto-assign workflow for Dependabot PRs
* fix(ci): skip auto-assign for Dependabot PRs (bots cannot be assigned)1 parent 5bcc097 commit daddf77
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments