Detection of CI Variable Changes

Hi,

I was wondering if there is a mechanism to detect pipeline Variable changes.

The use case is the following.

  1. Install helm chart with a secrets file that is stored in the Variables section protected/masked.
  2. On subsequent deployments, we do not need to apply the secrets file to the deployment if those variables have not changed.
  3. When any pipeline variables are updated/added a CI environment variable flag is set $CI_VARIABLE_NAME_CHANGES = 0 | 1.

I am not sure if this is a possibility.

Thank you for your time.