Use a Github action to update a feature flag in a specific Split Environment. This is an example of using Split's Admin APIs to implement Configuration as Code (CaC)
Edit the file flag_managed_by_github.json and the flag definition will be updated.
You can use the YAML github action in your own repository, or modify to suit your needs.
The YAML file uses the Full update of flag definition in environment API to replace the existing feature flag definition with the one from the JSON file.
The filename is used to define the name of the feature flag, and secrets are used for the Admin API Key, environment id and workspace ID.
The flag definition can be refreshed using the Get Feature Flag Definition in Environment API to pull flag definitions down.

