Merge pull request 'repository: stop migration_mirror_interval planning an update every run' (#65) from benvin/branch-protection-whitelist-drift into main
ci/woodpecker/push/apply Pipeline was successful
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #65
This commit was merged in pull request #65.
This commit is contained in:
@@ -17,4 +17,9 @@ resource "gitea_repository" "this" {
|
||||
website = var.website
|
||||
autodetect_manual_merge = var.autodetect_manual_merge
|
||||
archive_on_destroy = true
|
||||
|
||||
lifecycle {
|
||||
# migration_mirror_interval defaults to "8h0m0s" but Gitea returns an empty MirrorInterval for non-mirror repos, so the read-back never matches and plans a spurious update every run; it is a migration-only knob with no drift to track here.
|
||||
ignore_changes = [migration_mirror_interval]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user