Hi, I’m not sure if this is a feature or a bug. If I push, a build is triggered, but the build fails because I forgot to set a secret. Whoops! Go into the project settings, re-trigger the build, and it still fails. I guess because Drone uses all the settings from that failed build (including lack of secret)?
I guess because Drone uses all the settings from that failed build (including lack of secret)?
Nope, a rebuild will fetch the secrets ad-hoc and will therefore use new or updates secrets if available. The root cause of your failure is therefore probably something else.
So we experienced this on 0.8.4 and were able to reproduce. Restarting a build from the drone UI did not pick up the secret, but re-delivering the webhook from github, when the build triggered, it did pick up the secret.