Commit 89a7e14
authored
fix: make drift detection fail when transfer automation is not ready (#13)
Update drift detection to fail CI checks when repositories with Origin
field are present, since the transfer automation is not yet implemented.
Previously, pending transfers were treated as "informational only" and
the CI would pass even though the PR couldn't be executed. This was
misleading because:
- The repository doesn't exist in the org yet
- The transfer can't be performed (API not implemented)
- The PR represents actual drift that should block merging
Changes:
- Include pendingTransfer in hasDrift calculation
- Update error messages to reflect blocking behavior
- Change warning icon (1 parent ca4719a commit 89a7e14
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | | - | |
| 237 | + | |
237 | 238 | | |
238 | | - | |
239 | | - | |
| 239 | + | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| |||
0 commit comments