diff --git a/lib/plugins/environments.js b/lib/plugins/environments.js index 9cd66b92..52a29612 100644 --- a/lib/plugins/environments.js +++ b/lib/plugins/environments.js @@ -301,7 +301,7 @@ module.exports = class Environments extends Diffable { ) if (existingVariable) { existingVariables = existingVariables.filter( - (_var) => _var.name !== variable.name + (_var) => _var.name === variable.name ) if (existingVariable.value !== variable.value) { await this.github.request(