Description
I have a customer who is seeing failed secret scanning alerts when migrating from GHES to GHEC-US. The secret scanning alerts have been resolved and closed in source repositories but are not closed post-migration in the destination. This is post-GEI migration. The alert number differs in the source, where secret 1 in the destination is secret 2 in the source. The destination org has a global policy to enable advanced security features.
2026-07-09 16:05:05] [INFO] Migrating Secret Scanning Alerts...
[2026-07-09 16:05:05] [INFO] Migrating Secret Scanning Alerts from 'srcOrg/myRepo' to 'destOrg/myRepo'
[2026-07-09 16:05:06] [INFO] Source srcOrg/myRepo secret alerts found: 2
[2026-07-09 16:05:06] [INFO] Target destOrg/myRepo secret alerts found: 1
[2026-07-09 16:05:06] [INFO] Matching secret resolutions from source to target repository
[2026-07-09 16:05:06] [INFO] Processing source secret 2
[2026-07-09 16:05:06] [INFO] secret is resolved, looking for matching secret in target...
[2026-07-09 16:05:06] [WARNING] failed to locate a matching secret to source secret 2 in destOrg/myRepo
[2026-07-09 16:05:06] [INFO] Processing source secret 1
[2026-07-09 16:05:06] [INFO] secret is resolved, looking for matching secret in target...
[2026-07-09 16:05:06] [WARNING] Failed to locate a matching secret to source secret 1 in destOrg/myRepo
[2026-07-09 16:05:06] [INFO] Secret scanning alerts successfully migrated.
Reproduction Steps
We have had this process work for other repositories with the same process:
- Run GEI repository migration
- Run GEI secrets migration
Description
I have a customer who is seeing failed secret scanning alerts when migrating from GHES to GHEC-US. The secret scanning alerts have been resolved and closed in source repositories but are not closed post-migration in the destination. This is post-GEI migration. The alert number differs in the source, where secret 1 in the destination is secret 2 in the source. The destination org has a global policy to enable advanced security features.
Reproduction Steps
We have had this process work for other repositories with the same process: