You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Safe settings does not detect addition of environment variables.
What is actually happening
Steps to reproduce:
Create Environment first time with one variable, Safe settings will create that environment and add variable to it.
Update Settings and add second variable to an existing environment. Safe settings does not determine the changes to the environment variable and hence does not create it.
What is the expected behavior
It should determine that variable has been added to the environment during dry run and implement changes once PR is merged.
Error output, if available
After debugging the code, looks like mergeDeep.compareDeep(existingRecords, filteredEntries) is not able to determine the changes correctly.
Please find debug screen shots
existingRecords object with one variable in it
filteredEntries object with two variable in it
results object with addition key as empty
PR Screenshots:
Dry run results on my PR (No addition on Environment Detected)
Context
Are you using the hosted instance of probot/settings or running your own?
Running our own and deployed using community helm chart
If running your own instance, are you using it with github.com or GitHub Enterprise?
Both, However, noticed similar behavior on both instance.
Version of probot/settings
2.1.10
Version of GitHub Enterprise
3.11.10
The text was updated successfully, but these errors were encountered:
Problem Description
Safe settings does not detect addition of environment variables.
What is actually happening
Steps to reproduce:
What is the expected behavior
It should determine that variable has been added to the environment during dry run and implement changes once PR is merged.
Error output, if available
After debugging the code, looks like
mergeDeep.compareDeep(existingRecords, filteredEntries)
is not able to determine the changes correctly.Please find debug screen shots
existingRecords object with one variable in it
filteredEntries object with two variable in it
results object with addition key as empty
PR Screenshots:
Dry run results on my PR (No addition on Environment Detected)
Context
Are you using the hosted instance of probot/settings or running your own?
Running our own and deployed using community helm chart
If running your own instance, are you using it with github.com or GitHub Enterprise?
Both, However, noticed similar behavior on both instance.
Version of probot/settings
2.1.10
Version of GitHub Enterprise
3.11.10
The text was updated successfully, but these errors were encountered: