Open runephilosof-karnovgroup opened 7 months ago
I'm facing it too.
server
After fixing error (secrets permissions in my case) pipeline can't restart.
push
event[skip ci]
pipeline
skip_clone: true
steps:
test:
image: alpine
commands:
- echo Hello
secrets:
- retsec
[generic] secret "retsec" is not allowed to be used with pipeline event "manual"
manual
event[generic] pipeline definition not found
After fixing secret's permissions, pipeline can be restarted successfully.
Woodpecker 2.6.0
, Gitea 1.22.0
, Kubernetes.
Can be reproduced with organization secret with push
, manual
and tagging. After allowing tag
and restarting, it fails.
Component
server
Describe the bug
Restarting a pipeline that failed due to missing secrets is not enough. I have seen it in a tag event.
Then I added the secret and restarted the pipeline and the error changed to
System Info
Additional context
Might be related to https://github.com/woodpecker-ci/woodpecker/issues/1678
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]