feat: expose listing available organizations via woodpecker-go / CLI#5481
Conversation
|
Thanks! Thinking about this again, this should actually go to the |
|
Surge PR preview deployment succeeded. View it at https://woodpecker-ci-woodpecker-pr-5481.surge.sh |
You're right, the org package requires forge admin permissions, while listing organizations requires Woodpecker admin role. Moved this under admin command. |
|
Thanks. You have to regenerate the mock client though: https://ci.woodpecker-ci.org/repos/3780/pipeline/28156/34#L239 |
…dpecker-ci#5487) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5481 +/- ##
==========================================
- Coverage 26.46% 26.41% -0.05%
==========================================
Files 403 404 +1
Lines 28811 28842 +31
==========================================
- Hits 7625 7620 -5
- Misses 20491 20527 +36
Partials 695 695 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Currently neither the woodpecker cli nor woodpecker-go expose functionality to list organizations (while it's available on the HTTP API).
Mentioned in #3386