Woodpecker CI secrets not passed to pipeline process #204
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quoting @0xmrtt from the Matrix chat:
I was also able to reproduce this bug: https://ci.exozy.me/a/Hello-world/pipeline/14/3
The reason this bug happens is because this line doesn't add the
-E
flag tocommand
so the environment isn't passed to the process started bysudo
. I don't remember if this is intentionally done for security reasons, but I'm pretty sure it's safe to add the-E
flag here.