Environment secrets readable in a schedule event workflow?
#31614
-
|
I have a protected branch with required status checks and one required approver. The branch is also part of an environment which adds the secret My understanding is that the ssh deploy key 'user' however is treated like a repository admin when having write access. Pushing to the branch however fails. From https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys: Run log:
EDIT: Add info about the environment. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Does your branch protection rule allow admin overrides? That's optional, and if disabled even admins can't force-push a protected branch. |
Beta Was this translation helpful? Give feedback.
-
|
Aaaaand, I found the problem...
|
Beta Was this translation helpful? Give feedback.

Aaaaand, I found the problem...
environment: main-branchwas missing.