Skip to content

Commit 4d5d6bc

Browse files
fix: remove confirmation of changes. It doesnt work with the PR checks right now
1 parent f4704cd commit 4d5d6bc

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

lib/plugins/repository.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ module.exports = class Repository extends ErrorStash {
153153
this.logError(` Error ${JSON.stringify(e)}`)
154154
}
155155
})
156-
157-
this.log.debug(`Confirming synchronization of repository for ${this.repo.owner}/${this.repo.repo}`)
158-
const { data: upstream } = await this.github.repos.get(this.repo)
159-
160-
const changes = mergeDeep.compareDeep(upstream, this.settings)
161-
162-
if (changes.hasChanges) throw new Error(`Synchronization of repository for ${this.repo.owner}/${this.repo.repo} failed: ${JSON.stringify(changes)}`)
163-
this.log.debug(`Confirmed synchronization of repository for ${this.repo.owner}/${this.repo.repo}`)
164156
}
165157

166158
updateDefaultBranch (oldname, newname, resArray) {

0 commit comments

Comments
 (0)