Forum Discussion

leoperon's avatar
leoperon
New Member
2 hours ago

pre-commit hooks unable to access env variables with environments feature

Hi,

We're trying to adopt the new Environments feature, which is working well overall. However, we've encountered an issue with pre-commit hooks not being able to access the required environment variables.

Our pre-commit hooks require environment variables to be set. While the Environments feature itself functions correctly, the pre-commit hooks fail with an error indicating that the required environment variables are not available.

This is blocking us from fully adopting the feature.

Is this a known issue? We haven't found a workaround yet and would appreciate any guidance.

Thanks!

No RepliesBe the first to reply