I reformulate my need more simply
I have 3 environments
Each of these environments has the FIREBASE_DSN secret with a value specific to its environment:
Secrets are linked to an environment so detection should be done automatically, but there is no variable proposed by github to automatically detect the environment, this does not work. Is the only solution to copy my .yaml file 3 times?
environment: dev # <-- Here!