Describe the bug
Secret referencing doesn't seem to work when using GitHub Syncing.
Assume there is a Phase app "Shared" and another one "Web". If the "Web" app has a secret reference to a secret in the "Shared" app, when the GitHub sync runs, the following error is shown:
The sync fails with "The referenced key Shared::KEY does not exist in the Development environment."
If using phase secrets export from the command line, all references resolve cleanly indicating the reference syntax is correct.
To Reproduce
Steps to reproduce the behavior:
- Create two apps.
- Have one secret in the app reference a secret in the other app
- Configure GitHub sync as normal
- Try to sync
- Observe error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform you are having the issue on:
Additional context
We don't know if it's GitHub-specific sync issue or if this affects all syncs.
Describe the bug
Secret referencing doesn't seem to work when using GitHub Syncing.
Assume there is a Phase app "Shared" and another one "Web". If the "Web" app has a secret reference to a secret in the "Shared" app, when the GitHub sync runs, the following error is shown:
If using
phase secrets exportfrom the command line, all references resolve cleanly indicating the reference syntax is correct.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform you are having the issue on:
Additional context
We don't know if it's GitHub-specific sync issue or if this affects all syncs.